High granularity application and data security in cloud environments

ABSTRACT

Provided are systems, methods, and computer-readable medium for identifying security risks in applications executing in a cloud environment. In various implementations, a security monitoring and management system can obtain application data from a service provider system. The application data can include a record of actions performed by an application during use of the application by users associated with a tenant. The application executes in a service platform provided for the tenant by the service provider system. In various implementations, the application data is analyzed to identify an event associated with a security risk, where the event is identified from one or more actions performed by the application. The system can determine an action to perform in response to identifying the event. In various examples, an agent executing on the service platform can add instrumentation codes used by the application, where the instrumentation provides the application data.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application claims priority to Indian Provisional Application No. 201841014573, filed on Apr. 17, 2018, the which is incorporated herein by reference in its entirety.

BACKGROUND

Cloud service providers provide various services in the “cloud;” that is, over a network, such as the public Internet, and remotely accessible to any network-connected client device. Examples of the service models used by cloud service providers (also referred to herein as “cloud providers” or “providers”) include infrastructure as a service (IaaS), platform as a service (PaaS), software as a service (SaaS), and network as a service (NaaS). IaaS providers provide customers with infrastructure resources such as processing, storage, networks, and other computing resources that the customer is able to use to run software. The customer does not manage the infrastructure, but has control over operating systems, storage, and deployed applications, among other things, and may be able to control some networking components, such as firewalls. PaaS providers provide a customer with a platform on which the customer can develop, run, and manage an application without needing to maintain the underlying computing infrastructure. SaaS is a software licensing and delivery model in which software is licensed to customer on a subscription basis, and is centrally hosted by the cloud provider. Under this model, applications can be accessed, for example, using a web browser. NaaS providers provide network services to customers, for example by provisioning a virtual network on the network infrastructure operated by another party. In each of these service models, the cloud service provider maintains and manages the hardware and/or software that provide the services, and little, if any, software executes on a user's device.

Customers of cloud service providers, which can be referred to as users or tenants, can subscribe to the service provider to obtain access to the particular services provided by the service provider. The service provider can maintain an account for a user or tenant, through which the user and/or tenant can access the provider's services. The service provider can further maintain user accounts that are associated with the tenant, for individual users. Examples of service providers include Box, Dropbox, Microsoft, Docusign, Google, Salesforce, Oracle, Amazon, and others. Service provider such as these can provide multiple different services, but different service providers need not have any affiliation with one another, including not sharing infrastructure or security boundaries. Service provider systems are often also heavily secured and closed to non-tenants.

The reliance of organizations on computing environments has led to widespread adoption of cloud services for operations such as collaboration, sales and customer services, infrastructures, and so on. Applications provided through a cloud environment may enable organizations to rollout services faster and without much upfront investment on data center, hardware, software, and deployment projects. The accessibility of applications can increase employee productivity due to the availability of cloud enabled services from many locations, such as at work, at home, at a hotel, and other locations.

Because organizations and/or users of an organization may subscribe to the services of many different cloud services providers, an organization may need ways to ensure the organization's own systems do not come to harm through the use of cloud services. Use of cloud services can lead to security risks that are not present when an organization hosts and manages services within the organization itself.

BRIEF SUMMARY

In various implementations, provider are systems and methods for identifying security risks in applications executing in a cloud environment. In various examples, a cloud services provider can provide a platform in which tenants can execute applications. The cloud services providers may monitor use of the platform, but might not monitor use of the applications, nor of the actions performed by these applications.

In various implementations, provided are systems, methods, and computer-readable medium that provide monitoring for applications executing in a platform provided by a cloud services provider, where the applications come from a tenant or from an application developer that is unaffiliated with the cloud services provider. In various implementations, the systems methods, and computer-readable medium can perform steps including obtaining application data from a service provider system, wherein the application data includes a record of actions performed by an application during use of the application by one or more users associated with a tenant, wherein the application executes in a service platform provided for the tenant by the service provider system, wherein the service provider system provides the tenant with a tenant account, and wherein the tenant account enables the one or more users to access the service platform. The steps can further include analyzing the application data to identify an event associated with a security risk, wherein the event is identified from one or more actions performed by the application. The steps can further include determining an action to perform in response to identifying the event. The steps can further include performing the action.

In some aspects, the service provider system maintains an activity log for the tenant, the activity log including actions performed by the one or more users in accessing the service platform, and wherein the activity log does not include actions performed by the application.

In some aspects, the event is identified using a policy from a plurality of policies, wherein the plurality of policies define application actions associated with security risks. In some aspects, the one or more actions performed by the application produce an effect on a computing resource, and wherein the policy indicates that the effect on the computing resource is a security risk.

In some aspects, the systems, methods, and computer-readable medium described above further include performing additional steps, including filtering the application data using a plurality of polices, wherein one or more policies from the plurality of policies describe application actions identified as security risks.

In some aspects, the event is identified using a model for the application, wherein the model describes usage patterns for the application. In some aspects, the systems, methods, and computer-readable medium described above further include performing additional steps, including identifying an anomaly in the use of the application, wherein the anomaly is identified by comparing the application data against the model. In some aspects, the usage patterns for the application were previously identified as not associated with security risks. In some aspects, the usage patterns provide a baseline of usage for the application. In some aspects, the systems, methods, and computer-readable medium described above further include performing additional steps including adding the application data to the model. In some aspects, the systems, methods, and computer-readable medium described above further include performing additional steps, including using the application data to generate the model, wherein using the application data includes determining the usage patterns from the application data.

In some aspects, an agent executing on the service platform collects the application data and provides the application data to the computer system. In some aspects, an agent executing on the service platform modifies code used by the application to add instrumentation to the code, wherein, when the code is executed by the application, the code produces the application data. In some aspects, the agent is configured to identify code that, when executing, performs actions identified as security risks.

The foregoing, together with other features and implementations will become more apparent upon referring to the following specification, claims, and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 includes a block diagram illustrating an example of a computing environment that includes a security monitoring and control system.

FIG. 2 illustrates a block diagram of an example cloud security system that can be implemented by a security management and control system.

FIG. 3 illustrates a block diagram of an example analytics engine of a security management and control system.

FIG. 4 illustrates an example of a system that includes a security monitoring and control system that can monitor security for a cloud services provider.

FIG. 5 illustrates an example of a hosted application.

FIG. 6 illustrates an example of a graphical interface for displaying risk events determined from application data.

FIGS. 7A-7B illustrate examples of graphical interfaces that display more information about a risk event.

FIGS. 8A-8B illustrate additional examples of graphical interfaces that display more information about a risk event.

FIGS. 9A-9B illustrate additional examples of graphical interfaces that display more information about a risk event.

FIGS. 10A-10B illustrate additional examples of graphical interfaces for displaying more information about a risk event.

FIGS. 11A-11B illustrate additional examples of graphical interfaces for displaying more information about a risk event.

FIGS. 12A-12D illustrate additional examples of graphical interfaces for displaying more information about a risk event.

FIG. 13 illustrates an example of a process for monitoring security for applications executing in a cloud environment.

FIG. 14 depicts a simplified diagram of a distributed system in which the various examples discussed above can be implemented.

FIG. 15 is a simplified block diagram of one or more components of a system environment in which services may be offered as a cloud.

FIG. 16 illustrates an example of a computer system that may be used to implement various examples.

DETAILED DESCRIPTION

In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of various implementations and examples. It will be apparent, however, that various implementations may be practiced without these specific details. For example, circuits, systems, algorithms, structures, techniques, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the implementations in unnecessary detail. The figures and description are not intended to be restrictive.

Some examples, such as those disclosed with respect to the figures in this disclosure, may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, a sequence diagram, or a block diagram. Although a sequence diagram or a flowchart may describe the operations as a sequential process, many of the operations may be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination may correspond to a return of the function to the calling function or the main function.

The processes depicted herein, such as those described with reference to the figures in this disclosure, may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors cores), hardware, or combinations thereof. The software may be stored in a memory (e.g., on a memory device, on a non-transitory computer-readable storage medium). In some examples, the processes depicted in sequence diagrams and flowcharts herein can be implemented by any of the systems disclosed herein. The particular series of processing steps in this disclosure are not intended to be limiting. Other sequences of steps may also be performed according to alternative examples. For example, alternative examples of the present disclosure may perform the steps outlined above in a different order. Moreover, the individual steps illustrated in the figures may include multiple sub-steps that may be performed in various sequences as appropriate to the individual step. Furthermore, additional steps may be added or removed depending on the particular applications. One of ordinary skill in the art would recognize many variations, modifications, and alternatives.

In some examples, each process in the figures of this disclosure can be performed by one or more processing units. A processing unit may include one or more processors, including single core or multicore processors, one or more cores of processors, or combinations thereof. In some examples, a processing unit can include one or more special purpose co-processors such as graphics processors, Digital Signal Processors (DSPs), or the like. In some examples, some or all of the processing units can be implemented using customized circuits, such as Application Specific Integrated Circuits (ASICs), or Field programmable gate arrays (FPGAs).

Cloud service providers provide API's that enable cloud security services, such as the Oracle Cloud Access Security Brokers service, to gain access to event logs that record users' use of a cloud service. The event logs can include, for example, an action performed, a resource that was affected by the action, a time stamp for the time at which the action was performed, identification of a user that performed the action, and/or location information for the user (e.g., the IP address of the user and/or a geographic location), among other things.

The event logs, also referred to herein as activity logs, provided by a service provider can include events recorded by the service provider as a tenant's users use the service provider's services. For example, the event logs can record users logging into the a service, users placing authentication requests to access the services, new users of the service being generated, users of the service being deleted, and so on. When, for example, the service provider is providing a file hosting service (e.g., similar to Google Docs), the event logs can record user actions taken such as opening files, uploading files, deleting files, and so on.

In some examples, a cloud services provider can provide a platform for a tenant, where the platform provides a computing environment in which the tenant can execute applications other than those provided by the service provider. For example, the tenant may have applications the tenant has developed and/or may have applications that were obtained from third parties that are unaffiliated with the cloud services provider. Herein, these types of applications are referred to as a hosted application. The platform provided by the cloud services provider can enable the tenant to run these applications. In some cases, the platform can enable the tenant to run any application of the tenant's choosing.

The cloud services provider, in providing the platform, need not have knowledge of the applications being run by a tenant, nor of the actions taken by these applications. The cloud service provider's event logs may thus include little to no information about applications run within a platform service. The applications, however, may be performing security sensitive actions. For example, the applications may be requesting security credentials, accessing databases being hosted by the cloud services provider, running processes on an operating system hosted on the platform, and/or performing network accesses, among other actions. While an application may legitimately perform these actions during the operation of the application, in some cases, these actions may be of a sufficiently sensitive nature that the tenant may want to monitor these actions. Alternatively or additionally, the application may behaving incorrectly, in which case the tenant may need to be made aware of the incorrect behavior. Alternatively or additionally, the application may be compromised, and may be taking actions on behalf of a malicious actor. In these and other examples, actions being taken by the application may not be visible in the cloud service provider's event logs, and thus may not be monitored.

The cloud environment creates challenges for monitoring the actions of an application, which are not present in enterprise networks and other on-premises service provider models. When the network is on-premises—that is, the hardware for the network is located at and/or physically controlled by the owner or operator of the network—applications run on systems that are controlled and/or administrated by the owner of the network. In these situations, the owner of the network may have full control of the applications, including controlling who can use the applications, what the applications can do, what data the applications can access, and so on. When applications run in a cloud environment, however, the applications can be executing on systems that are not controlled by the users of the applications, or an organization that the users work for or are otherwise associated with. As a result, the organization may not bel able to control who uses the applications, what the applications do, the data that the applications access, and/or whether or not the applications are conforming to security, contractual, audit, legal requirements, and/or other requirements. To determine whether applications executing in a cloud environment conform to these and various other requirements, visibility into the operations of the applications is needed.

In various implementations, provided are systems, methods, and computer readable medium for capturing actions performed by an application that executes in a service platform provided by a cloud services provider. The cloud services provider an provide the service platform for a tenant. Users associated with the tenant can use the application, which executes within the service platform when the users invoke the application.

In various implementations, a security monitoring and control system can include an agent executing in the computing environment provided by the service platform The agent can capture actions taken by the application as the application executes. The agent can provide these actions as application data to a security management and control system. The security management and control system can use a model for the application to determine whether the application data includes anomalous usage of the application. For example, the model can describe a baseline usage for the application, where the baseline describes a manner in which the tenant's users use the application. In this example, usage that falls beyond a threshold of the baseline usage may be anomalous. In some examples, the baseline usage patterns have been analyzed and determined to include usage that is not associated with security risks.

In various implementations, the agent is operable to add instrumentation to object code uses by an application. For example, the agent can modify object code as the object code is loaded for use by the application, where the modifications include inserting instrumentation. The instrumentation can take the form of, for example, code that outputs information to the agent when invoked during execution application. The object code can come from software libraries provided to applications. The software libraries can include standard libraries and/or custom libraries associated with a particular application. By modifying the object code, the application need not be modified to provide information about the application's actions.

In various implementations, the application data provided by the agent is at a higher degree of granularity than the data in the event logs provided by cloud service providers. For example, for an application provided by a service provider, the service provider can record actions taken be a user as the user uses the application, such as opening a file. In this example, however, the service provider may not record the actions then performed by the application in executing the actions taken by the user. For example, the service provider may not record a request for security credentials generated by opening the file, nor a network request sent to a remote site that result from the request for security credentials. In contrast, a security management and control system equipped with application data can provide a higher degree of network security and at a deeper level of detail.

Cloud service providers can provider various services to customers of the cloud services providers. Customers can be individual users and/or organizations, where an organization can include multiple users. An organization is an entity that brings people and resources together to serve a common purpose or purposes, within which user accounts are under common administration. Examples of organizations include companies, universities, utilities, and governmental entities, among others. Users are digital entities associated with a user identifier, such as a user name, and associated with one or more user accounts. Users of an organization, for example, can be associated with at least one user account that is maintained by the organization. Activities of a user may be driven by one person (e.g., a human being), multiple people, and/or software programs. Users and organizations can subscribe to the services of a cloud services provider by registering with the service provider. In most cases, the cloud services provider provides the users and organizations with an account within the systems of the services provider. Subscribers of a cloud service provider are also referred to herein as tenants.

The services provided by a cloud services provider, which can include network infrastructure, development and/or hosting platforms, and/or software, are hosted by the cloud services provider. Hosting the services means that the services run on and/or are maintained by computing systems under the control of the cloud services provider. The cloud services providers provide services to subscribers over a network, such as the Internet, and the subscribers use the services using computing systems under the control of each individual subscriber. Subscribers are also referred to herein as tenants of a cloud services provider.

Within the cloud services ecosystem, a security monitoring and control system can assist the individual users and organizations in monitoring use of cloud services, to ensure the cloud services are not being used for malicious or illegal purposes.

FIG. 1 includes a block diagram illustrating an example of a computing environment 100 that includes a security monitoring and control system 102 (also referred to herein as “security management system” and “security system”). The security monitoring and control system 102 can provide threat analysis and remediation for an organization 130 that uses services 112 a-112 b provided by a cloud service provider 110. Because the services 112 a-112 b are managed externally to the networks of the organization 130, network security systems of the organization 130 may not be able to ensure that use of the services 112 a-112 b does not create security risks for the organization 130. In various examples, the users of the organization 130 can access and use the services 112 a-112 b over an network 150 or a combination of networks. The network 150 can include, for example, the public Internet. The organization 130 can similarly access and use the services of the security monitoring and control system 102 over the network 150. In various examples, the security monitoring and control system 102 can also be described as a cloud service, which is administered by a cloud service provider. An example of a security monitoring and control system is Oracle CASB, which is a product and service offered by Oracle Corporation.

A service provider is a collection of hardware and software configured to provide computing services to others. The computing services can include, for example, hardware resources, processing resources, data storage, hardware platforms, software platforms, and/or applications of various levels of complexity, among other computing resources. In some cases, the service provider operates the hardware and software that enables the provider's services. In some cases, the service provider uses the hardware and software of another service provider. For example, a first service provider can be the operator of a data center, who leases software hosting services resources to a second service provider, who then provides an application such as a collaborative word processing application to users of an organization.

In various examples, service providers follow a subscription model, and lease use of a service to others, where the lease can last for a period of time. A subscriber, who is also referred to herein as a tenant, can be given an account with the service provider and/or with a particular service, through which the tenant uses the service. When the tenant is an organization, the tenant can have an account with the service provider (referred to herein as a tenant account or an enterprise account) and the organization's users can have individual user accounts with the service provider and/or the particular service. In some cases, the user accounts are tied to the account of the tenant, and the tenant account can control and manage the user accounts.

In some examples, a service provider can provide a service without direct remuneration from subscribers. For example, a service provider can provide a free email application, and obtain revenue for the service through other avenues, such as advertising. In this and other examples, subscribers can obtain an account with the service provider without a lease and possibly for an indefinite period of time.

In the example of FIG. 1, the service provider 110 is providing two services 112 a-112 b that are accessible, over a network 150, to customers of the service provider 110. The services 112 a-112 b can include, for example, infrastructure, platforms, networks, and applications, among other services. In some examples, the two services 112 a-112 b can be inter-related, such as being able to share data or being accessible through a single sign-on mechanism (e.g., one set of user credentials enables a user to access both services 112 a-112 b without needing to separately authenticate with each service). In some examples, the services 112 a-112 b operate entirely independently. For example, the first service 112 a can be a banking application and the second service 112 b can be a software development platform. In this example, the service provider 110 may be providing the two services 112 a-112 b as separate and unrelated products.

Customers of the service provider 110 can include individual users and/or organizations, where an organization can include multiple users. An organization is an entity that brings people and resources together to serve a common purpose or purposes. Examples of organizations include companies, universities, utilities, and governmental entities, among others. The people of the organization can be represented in the organization as users. In the context of the computing environment 100, a user is a digital entity that can include a user name, a user identifier, a user account, credentials (e.g., a password, security token, or another form of credential), and/or other data that can be used to access and use the computing systems of the organization. One or more people can be associated with the same user account, or one person can have multiple user accounts. For example, a member of the network administration team can use the same administrative user account that is used by other members of the network administration team, while also having a user account that is used only by the one network administrator. In some examples, activities of a user can be driven by automated programs (such as “bots”) instead of or in addition to being driven by a human being.

In various examples, the users of the organization and the resources of the organization are under common administration and can operate within a same security perimeter. For example, in the example of FIG. 1, the resources of the organization 130 include an enterprise network 104 and a number of client devices 106 a-106 c. The client devices 106 a-106 c can include, for example, desktop computers, laptop computers, smartphones, tablets, and other computing devices. In some examples, the client devices 106 a-106 c can be personally owned by employees of the organization 130, but while these devices are connected to the enterprise network 104, the devices are administered by the organization 130. The enterprise network 104 can also include other computing devices, such as servers, printers, routers, switches, and other network devices. Resources of the organization 130 can also include data (e.g. documents, webpages, business data, user data, etc.), databases, applications, processing capacity, storage capacity, networking capacity, and other hardware, software, or digital resources.

In various examples, client devices 106 a-106 b of the organization 130 can be connected to and operate within the enterprise network 104. For example, the client devices 106 a-106 b can be connected to a switch within the enterprise network 104, which puts the client devices 106 a-106 b behind the firewall 108 of the enterprise network 104. Being behind the firewall 108, puts the client devices 106 a-106 b within the security perimeter of the enterprise network 104. Within the security perimeter, the firewall 108 and other network security systems, such as Security Information and Event Management (SIEM) applications, Intrusion Detection Systems (IDS), and Intrusion Prevention Systems (IPS), among others, can defend the devices in the enterprise network 104 from network threats.

In various examples, a client device 106 c of the organization 130 can be connected to the organization 130 from outside the enterprise network 104. For example, the client device 106 c can be connected to the network 150 through an Internet Service Provider (ISP), and through the network 150, the client device 106 c may be able to connect to a Virtual Private Network (VPN) of the enterprise network 104, or a similar mechanism. Once connected to the VPN, the client device 106 c can operate as part of the enterprise network 104, and be defended by the security perimeter of the enterprise network 104. In this example, however, the client devices 106 c is simultaneously connect to the network 150 that is between the client device 106 c and the enterprise network 104, and thus can still be exposed to security risks that can come from the network 150. Additionally, in some examples, the client device 106 c may not need to be connected to the enterprise network 104 to be able to access the services 112 a-112 b of the service provider 110.

In various examples, the users of the organization 130 can make use of the resources of the organization 130 and the services 112 a-112 b that the organization 130 subscribes to through the client devices 106 a-106 c. which may be owned by the organization 130 and provided to the organization's members by the organization 130. In various examples, members can use any client device of the organization 130, and may be able to use multiple client devices. For example, the enterprise network 104 can include user workstations which any member can use to log in and access the member's user account. As another example, a member may have access to a laptop computer and a smartphone, and can log into to either device to access the same user account. Alternatively or additionally, the member can use a client device personally owned by the member to connect to the organization's network to make use of the organization 130 resources.

As noted above, a subscriber of the service provider's services 112 a-112 b can also be an individual who is not affiliated with or part of the organization 130. The individual may have access to a network-enabled client device 106 d, through which the individual can access the services 112 a-112 b. The individual may have a user account with an ISP that enables the individual to access the network 150. Alternatively or additionally, the individual may have a user account with one or more of the services 112 a-112 b or The individual is not, however, able to use the client device 106 d to connect to the enterprise network 104, because the individual does not have a user account with the organization 130 or credentials that enable the a user account to gain permission to connect to the enterprise network 104.

In various examples, individuals and organizations can subscribe to services provided by different service providers. For example, an organization can use an email service (e.g. Gmail from Google®) from one service provider and a file sharing service (e.g., Dropbox) from a different service provider. In this and other examples, the different service providers can be unrelated, including have separate computing systems for supporting their respective service and being controlled by different entities. In some examples, a user can have separate accounts with each service provider and/or each service provider's service. In some examples, a user may be able to use a common user account to access the services of different service providers.

In some examples, a cloud service can be authorized or unauthorized for use within the organization 130. An authorized service is one that the organization 130 has approved for use. Approval can include, for example, vetting the service through a certification process to ensure the service is secure, establishing a service contract with the service provider 110, placing the service provider 110 on a list of approved service providers, identifying the service provider 110 as a well-known and trusted service provider, and/or controlling the generation of user accounts with the service for the users of the organization 130, among other activities. For example, the service provider 110 can be categorized by the service provider 110 as a “trusted” service provider. In some examples, the organization 130 can categorize other service providers as “untrusted,” or categorize all service providers that are not on the trusted list as untrusted. An unauthorized service is one that the organization may not have specifically approved, and that a user is using at the user's own discretion. For example, a user may be using a file sharing service that the organization 130 has not specifically authorized, possibly without the organization 130 being aware that the file sharing service is being used.

In some examples, the services 112 a-112 b of the service provider 110 can be executed or accessed through an application that can be executed from within the organization 130, and which may be authorized for use within the organization 130. For example, the organization 130 can have an authorized web browser application, through which users can access services such as a file sharing service or a database service. In this and other examples, the web browser application can be referred to as an internal application. In some examples, the internal application can operate cooperatively with the cloud services 112 a-112 b, including, for example, allowing the services 112 a-112 b to access data, user account information, or other information within the organization 130. Because the internal application is executing within the organization 130 (for example on client devices 106 a-106 c of the organization 130), the organization 130 can monitor and control usage of the internal application. The organization 130, however, may not be aware of or be able to monitor users' usage, through the internal application, of the services 112 a-112 b of the service provider 110.

In some examples, a user can access the services 112 a-112 b of the service provider 110 through a third-party service provider 114. For example, a user can first access a service 116 provided by the third-party service provider 114, and through this service 116, access the service 112 b of another service provider 110 (illustrated here by a dashed arrow). The service 116 of the third-party service provider 114 can be, for example, a portal service that enables users to locate and access the applications and services of other cloud service providers. In some examples, the third-party service provider's service 116 provides access to other service over the network 150 (e.g., data to and from the service 116 that is for the other service 112 b is transmitted to and from the other service 112 b over the network 150) though the access may appear, from the user's perspective, to be direct. In some examples, the service 116 enables a user to establish a subscription with the other service 112 b, after which the user access the other service 112 b directly and without needing to access the service 116 of the third-party service provider 114.

Use of the cloud services 112 a-112 b can create a security risk for the subscribers of the services 112 a-112 b. For example, hardware, platforms, and software that are operating within the organization can, in most cases, be controlled by the organization and be secured by the organization, for example using physical barriers and/or network security tools. The cloud services 112 a-112 b, however, operate outside of the organization 130 and outside of direct control by the organization 130. The organization 130 may have little to no visibility into the activities users perform when using the services 112 a-112 b, or ability to control the actions the users perform. Additionally, the organization 130 may have little or no ability to monitor or control user actions that cause questionable data or unauthorized users to enter the organization 130 by way of the services 112 a-112 b, or that cause the organization's data to exit the organization 130 through use of the services 112 a-112 b.

In various implementations, the security monitoring and control system 102 can provide network threat detection and remediation services for subscribers of the cloud services 112 a-112 b. In various implementations, the security monitoring and control system 102 can analyze use of services 112 a-112 b and identify activities that may be a threat to an organization or individual subscriber. In some implementations, the security monitoring and control system 102 can further suggestion remediation actions, and/or can automatically perform remediation actions to isolate or stop the threat. In some examples, analysis performed by the security monitoring and control system 102 can include determining models of normal and/or abnormal behavior in user activity, and using the models to detect patterns of suspicious activity. In some examples, the security monitoring and control system 102 can simultaneously analyze data from different services and/or from different services providers. In these examples, the security monitoring and control system 102 may be able to detect suspect activity that is only evident when actions performed with different services occurs. In various examples, the security monitoring and control system 102 can determine remedial measures that can be executed at a service provider where suspect activity was detected, or at a different service provider, when the analyses determines actions may need to be taken at other service providers.

In some examples, the security management and control system 102 can be integrated into the computing environment of the organization 130. For example, the security monitoring and control system 102 can executing on a server in the enterprise network 104 and behind the firewall 108 of the organization 130. In these examples, the security management and control system 102 can be administered by the organization's network administrators, and/or by personnel associated with the developer of the security management and control system 102.

Alternatively or additionally, various examples, the capabilities of the security monitoring and control system 102 can be provided as a service to individual and organizations. For example, the network security services of the security monitoring and control system 102 can be offered as web-based cloud service, and/or under a Software as a Service (SaaS) model. In these and other examples, customers can use applications provided by the security monitoring and control system 102, where the applications provide various threat detection and remediation functions. As with the services 112 a-112 b of the service provider 110, individuals and organizations can subscribe to the security services provided by the security monitoring and control system 102. In some examples, a group users of the organization 130 can be designated as administrative users, and can manage the operations conducted by the security monitoring and control system 102 in monitoring security for the organization 130. These users may have access information such as reports generated by the security management and control system 102 and the ability perform remediation actions suggested by the security management and control system 102, among other capabilities.

In various implementations, security monitoring and control system 102 can be implemented using a computing system. In these implementations, the computing system can include one or more computers and/or servers (e.g., one or more access manager servers), which may be general purpose computers, specialized server computers (such as desktop servers, UNIX servers, mid-range servers, mainframe computers, rack-mounted servers, etc.), server farms, server clusters, distributed servers, or any other appropriate arrangement and/or combination of computing hardware. The security monitoring and control system 102 may run an operating system and/or a variety of additional server applications and/or mid-tier applications, including HyperText Transport Protocol (HTTP) servers, File Transport Service (FTP) servers, Common Gateway Interface (CGI) servers, Java servers, database servers, and other computing systems. Examples of database servers include, those commercially available from Oracle, Microsoft, and other. The security monitoring and control system 102 may be implemented using hardware, firmware, software, or combinations of hardware, firmware, and software.

In various implementations, the security monitoring and control system 102 may include at least one memory, one or more processing units (e.g., processor(s)), and/or storage. The processing unit(s) can be implemented as appropriate in hardware (e.g., integrated circuits), computer-executable instructions, firmware, or combinations of hardware and instructions. In some examples, the security monitoring and control system 102 can include several subsystems and/or modules. The subsystems and/or modules in the security monitoring and control system 102 may be implemented in hardware, software (e.g., program code or instructions executable by a processor) executing on hardware, or combinations thereof. In some examples, the software can be stored in a memory (e.g., a non-transitory computer-readable medium), on a memory device, or some other physical memory, and may be executed by one or more processing units (e.g., one or more processors, one or more processor cores, one or more Graphics Process Units (GPUs), etc.). Computer-executable instructions or firmware implementations of the processing unit(s) can include computer-executable or machine-executable instructions written in any suitable programming language, which can perform the various operations, functions, methods, and/or processes described herein. The memory may store program instructions that are loadable and executable on the processing unit(s), as well as data generated during the execution of these programs. The memory may be volatile (such as random access memory (RAM)) and/or non-volatile (such as read-only memory (ROM), flash memory, etc.). The memory may be implemented using any type of persistent storage device, such as computer readable storage media. In some examples, computer-readable storage media may be configured to protect a computer from an electronic communication containing malicious code. The computer-readable storage media may include instructions stored thereon, that when executed on a processor, perform operations of the security monitoring and control system 102.

In various implementations, the security monitoring and control system 102 can include various modules that implement different features of the security monitoring and control system 102. In the example of FIG. 1, these modules include a scanner 174, a pattern analyzer 176, a learning system 178, a data accesser 182, a data analysis system 136, an information handler system 138, a mapping generator 170, a control manager 172, a log collector system 134, and a interface 120. The security monitoring and control system 102 further includes storage 122, which stores various data that the security monitoring and control system 102 uses. In some examples, the security monitoring and control system 102 can also be connected to additional data stores 180, which can store additional data that the security monitoring and control system 102 may need.

In various examples, the storage 122 of the security monitoring and control system 102 can one or more data stores that store tenant configuration information 124, security information 126, domain information 128, and application information 132. In various examples, the storage 122 can include one or more databases (e.g., a document database, a relational database, or other type of database), one or more file stores, one or more file systems, or a combination of systems for storing data.

In various examples, the tenant configuration information 124 (“tenant config info”), can include configuration information for tenants and tenant accounts, as well as user accounts associated with each tenant account. When, for example, the organization 130 subscribes to the services of the security management and control system 102, the organization can provide the security management and control system 102 with information that identifies the organization's tenant account with the cloud service provider 110. In this example, security management and control system 102 can store the tenant account information in the tenant configuration information 124. In some cases, the organization 130 can also provide a list of user accounts with the service provider 110, which can also be stored in the tenant configuration information 124. Alternatively or additionally, in some examples, the security management and control system 102 can query the service provider 110 to determine the user accounts. In some examples, the security monitoring and control system 102 can use the association between a tenant account and the user accounts for the tenant's users in various ways, including to retrieve information about the activity of users associated with the tenant.

In some examples, the organization 130 can also provide authentication information to the security management and control system 102, where the authentication information can be used to log in to or otherwise access the services 112 a-112 b of the service provider 110. In various examples, the security management and control system 102 can use the authorization information to access the organization's tenant account 130 with the service provider 110. Authorization information can take the form of, for example, a token (e.g., an OAuth token), a username and password, or another form of credential. In some examples, the organization 130 can specify permissions or privileges with the authorization, which can define the level of access the security management and control system 102 has to the organization's tenant account. For example, the organization 130 can specify that the security management and control system 102 can change security settings for a service provided by the service provider 110, but that the security management and control system 102 cannot generate new user accounts or delete user accounts.

In various examples, the tenant configuration information 124 can store other information for the organization 130, such as, for example security, settings for accessing the services 112 a-112 b of the service provider 110, log settings, and/or access settings (e.g., security policies, security configurations, and whitelists and blacklists, among other things). In some examples, the organization 130 can specify a security setting for a service based on a level. For example, a security setting at a high level may require that user passwords be “strong,” meaning, for example, that the password must include a variety of characters such as upper and lower case, numbers, and/or symbols. Similarly, security settings at different levels may set a session inactivity timer at higher or lower periods of time, such that, when the inactivity timer expires, the user's session is automatically ended, for example.

In some examples, the storage 122 can include security information 126 (“security info”) that includes security analysis performed by the security monitoring and control system 102. In some examples, the security information 126 can include separate entries for different customers of the security monitoring and control system 102. In some examples, the security information 126 includes historic data: the results of past analysis (e.g., from the last month, last three months, last year, or some other past time period) which can be consulted when needed. In some examples, the security information 126 can further include records of past security incidents, determinations of whether the past security incidents were actual incidents or false positives, records of remediation actions taken for past incidents, and/or outcomes of performing remediation actions, among other data. In some examples, the security information 126 can further include network threat intelligence data, obtained, for example, from third-party threat intelligence aggregators and distributors.

In some examples, the storage 122 can include domain information 128 (“domain info”) about the service provider 110 and other services providers. The domain information 128 can include, for example, a network address or location of the service provider 110, identification information for an owner or operator of the service provider 110 (e.g., the person or organization that owns and/operates the service provider 110) and information for verifying the identity of the service provider 110. The domain information 128 can be obtained, for example, by querying the service provider 110, requesting a certificate from the service provider 110, and/or requesting information from the service provider's ISP or the service provider's hosting service.

In some examples, the storage 122 can include application information 132 (“app info”) that records user of a service provider's applications or services. The application information 132 can include, for example data logs collected from the organization 130 and/or activity logs obtained from the service provider 110. The application information 132 can record, for example, actions performed during use of the services 112 a-112 b of the service provider 110 as well as identification of the users who performed the actions, timestamps for when the actions were performed, network identification of network and/or geographic locations for the users when the users performed the actions, resources affected by the actions, and other information related to use of the services 112 a-112 b.

In various implementations, the security monitoring and control system 102 may be coupled to or in communication with one or more data stores 180. The data stores 180 may be implemented using any type of persistent storage device, such as a memory storage device or other non-transitory computer-readable storage medium. In some examples, the data stores 180 can include or implement one or more databases (e.g., a document database, a relational database, or other type of database), one or more file stores, one or more file systems, or combinations thereof. The data stores 180 may be implemented by and/or accessible as a service provided by a service provider system. The data stores 180 may include an interface for requesting data related to service or the service's service provider.

In some implementations, the security monitoring and control system 102 can include a log collector system 134 that performs operations for obtaining data on which the security monitoring and control system 102 can perform analysis. In various examples, the security monitoring and control system 102 can use different types of data or data sources for conducting threat analysis. For example, the security monitoring and control system 102 can use data obtained by monitoring the client devices 106 a-106 c through which the services 112 a-112 b are used, and/or obtained by monitoring points within an organization's network, such as at routers or the firewall 108. Herein, data obtained from client devices or within the organization's network is referred to as network data. To obtain network data, in some examples, monitoring agents can be placed on the client devices 106 a-106 c and/or on the network infrastructure of the organization's network. In these examples, the monitoring agents can capture user activity as a user makes use of cloud services.

As another example, the security monitoring and control system 102 can use data logs from the service provider 110. In various examples, the service provider 110 can record user activity as the services 112 a-112 b of the service provider 110 are used. For example, the service provider 110 can record when users log into a service, a network and/or geographic location for a user when the user logs in, actions performed by the user when the user uses a service, a resource affected by the action, and other information related to use of a service. Data from service providers are referred to herein as activity data or activity logs.

The following examples illustrate some examples of activity data that can be obtained from service providers. The following is a first example of activity data (e.g., an audit log record) that can be obtained from a service provider:

“entries”: [ {   “source”: {   “type”: “user”,   “id”: “222853877”,   “name”: “Sandra Lee”,   “login”: “sandra@company.com”   },   “created_by”: {   “type”: “user”,   “id”: “222853866”,   “name”: “Mike Smith”,   “login”: “mike@company.com”   },   “created_at”: “2016-12-02T011:41:31-08:00”,   “event_id”: “b9a2393a-20cf-4307-90f5-004110dec233”,   “event_type”: “ADD_LOGIN_ACTIVITY_DEVICE”,   “ip_address”: “140.54.34.21”,   “type”: “event”,   “session_id”: null,   “additional_details”: null }

The following is a second example of activity data (e.g., a shared file audit log record) that can be obtained from a service provider.

“entries”: [ {   “type”: “event”,   “source”: {     “parent”: {       “type”: “folder”,       “id”: “0”,       “name”: “All Files”     },     “item_name”: “financial2017Q1.doc”,     “item_type”: “file”,     “item_id”: “159004949136”   },   “additional_details”: {     “service_name”: “File Sharing App”   },   “event_type”: “SHARE”,   “ip_address”: “140.191.225.186”,   “event_id”: “234d2f55-99d0-4737-9c3b-1a5256fe7c67”,   “created_at”: “2016-12-12T20:28:02-07:00”,   “created_by”: {     “type”: “user”,     “id”: “238746411”,     “name”: “John Smith”,     “login”: “john@company.com”   } }

The following is a third example of activity data (e.g., an audit record) that can be obtained from a service provider.

{   “Records”: [   {     “eventVersion”: “1.03”,     “userIdentity”: {     “type”: “IAMUser”,     “principalId”: “111122225533”,     “arn”: “arn:aws:iam::111122223333:user/john”,     “accountId”: “111122223335”,     “accessKeyId”: “AKIAIOSFODNN7JOHN”,     “userName”: “john”   },   “eventTime”: “2016-12-26T20:46:31Z”,   “eventSource”: “s3.amazonaws.com”,   “eventName”: “PutBucket”,   “awsRegion”: “us-west-2”,   “sourceIPAddress”: “127.0.0.1”,   “userAgent”: “[ ]”,   “requestParameters”: {     “bucketName”: “myprodbucket”   },   “responseElements”: null,   “requestID”: “47B8E8D397DCE7D6”,   “eventID”: “cdc4b7ed-e171-4cef-975a-ad829d4123c7”,   “eventType”: “AwsApiCall”,   “recipientAccountId”: “111122223344” }

The following is a fourth example of activity data (e.g., an audit record) that can be obtained from a service provider.

79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47efcde myprodbucket [06/Feb/202017:00:01:57 +0000] 192.0.2.3 Mary DD6CC733AMARY REST.GET.OBJECT s3-dg.pdf “GET / mybucket/financial2016Q4.pdf HTTP/1.1” 200 - - 4406583 4175428 “-” “S3Console/0.4” -

In some examples, the security monitoring and control system 102 can use data from other data sources, such as third-party feeds from network sources other than the organization's network or the service provider 110. Examples of other network sources can include network security data aggregators and distributors, social networking systems, news reporting or aggregating systems, governmental systems, reputation systems, and other systems.

In various implementations, the log collector system 134 can perform operations to obtain network data and/or activity data. For example, the log collector system 134 can be configured to communicate with software agents placed with the enterprise network 104 to network data logged by these agents. In this example, the network data can include network traffic generated as a user uses the services 112 a-112 b of the service provider 110 or the services of another service provider. In some examples, the network data can include other network traffic, such as network traffic generated as a user uses other network resources, such as resources of the organization 130 or resources on the Internet, such as websites. As another example, the log collector system 134 can be configured to communicate with the service provider 110 to obtain activity logs from the service provider 110. The service provider 110 can have, for example, and Application Programming Interface (API) that enables the log collector system 134 to request activity logs. In these examples, the log collector system 134 may be able to use the credentials of a tenant account with the service provider 110 to request the activity logs; that is, the log collector system 134 can pose as a tenant of the service provider 110 and make a request in the same way as would the tenant.

In various implementations, data obtained by the log collector system 134 can be processed by a data analysis system 136 in security monitoring and control system 102. The data analysis system 136 can conduct analysis on network data and activity data to perform operations such as discovery of applications being used, activity pattern learning and recognition, anomaly detection, and network threat detection, among other operations. These and other operations that can be performed by the data analysis system 136 are discussed further below.

In various implementations, the information handler system 138 of the security monitoring and control system 102 manages the data in the storage 122, including, for example, storing data, locating and retrieving data, organizing data, and updating data, among other operations. In some examples, the information handler system 138 received data from users of the organization 130, such as administrative users, who can provide information such as lists of the organization's users and data about the users. The data about the users can include, for example, roles or privileges for a user. In these and other examples, the information handler system 138 can manage storing of the user data in the appropriate data store in the storage 122.

In various implementations, the mapping generator 170 performs security analysis the organization 130 or another customer of the security monitoring and control system 102. For example, the mapping generator 170 can operate on output of the data analysis system 136 and compute a measure of security for a service, a user, a tenant, or combinations of services, users, and/or tenants. In some examples, the mapping generator 170 can obtain data from the interface 120 to perform security analysis. Security analysis operations are discussed further below.

In various implementations, a control manager 172 in the security monitoring and control system 102 can act on behalf of the organization 130 to manage access to the services 112 a-112 b of the service provider 110 by the organization's users. In various examples, the control manager 172 can provide this service for multiple cloud services or any cloud service that the organization's users use. In some examples, the control manager 172 can use access policies to control users' access to the services 112 a-112 b. An access policy can define, for example, types or categories of users that can or cannot use a service, specific users that can or cannot use a service, times of day or days of the week when a service can be used, an amount of data that can be transferred to or from the services, an amount of data bandwidth that can be used, actions that can or cannot be performed in using the service, to which users the access policy applies, and/or other restrictions or permissions with respect to the service. In various examples, the control manager 172 can maintain a set of policies for each organization that subscribes to the services of the security management and control system 102. In some examples, the control manager 172 can provide pre-sets with different levels of security, where selecting a pre-set selects the security configuration for one or more services. In these examples, the organization's selection of a pre-set can affect some or all of the organization's users ability to use the services.

In some examples, the control manager 172 can also maintain security policies for the organization 130. A security policy can define an action or set of actions that, when detected, constitute a security violation or an event that otherwise requires attention. In some examples, actions that are defined by a policy as a security violation can occur through use of one service, meaning that all the actions were performed while using the same service. In some examples, the actions can have occurred during use of more than one service, where the services are provided by one service provider or multiple service providers. In some examples, a security policy can also define one or more remediation actions to perform when a violation of the policy is detected. A remediation action can include, for example, sending a notification to the user who caused the violation, to network administrators of the organization 130, to administrators of the security management and control system 102, and/or to another entity.

In some examples, remediation can include modifying access to a service or to multiple services. For example, a remediation action can include preventing a particular user from using a service, or preventing all users of the organization 130 from using the service. As another example, a remediation action can include limiting the actions that can be performed in using a service. In some examples, performing a remediation action can include sending instructions to the enterprise network 104. In these examples, the instructions can, for example, configure a client device or a network infrastructure device such as the firewall 108. The client devices 106 a-106 c and/or the network infrastructure devices may, in some examples, be executing a software agent that enables the control manager 172 to communication with the devices, and make modifications to the devices. Modifications can include, for example, restricting access to a domain or Internet Protocol (IP) address, blocking all network traffic, disabling the device, or making some other modification to the device.

In some examples, performing a remediation action can include sending instructions to the service provider 110 to modify access to the services 112 a-112 b. In these examples, the remediation action can include determining instructions to send. For example, the control manager 172 can examine an API of the service provider 110 and/or of a service to identify instructions that can be performed to cause a desired change to the service. In this example, the API can define instructions that can, for example, prevent or limit access to the service by a user or a group of users of the organization 130. As another example, the API can define instructions that can disable or enable certain functionality of the service, wherein the disabling or enabling affects one or more users of the organization 130. In these and other examples, the modification to the service affects the users of the organization with which the remediation is associated, and does not affect the users of a different organization.

In various implementations, the security monitoring and control system 102 can include a learning system 178. The learning system 178 can apply various machine learning algorithms to data collected by the security monitoring and control system 102. The information learned about the data can then be used, for example, by the data analysis system 136 to make determinations about user activities in using services provided by the service provider 110. For example, the learning system 178 can learn patterns of normal or common behaviors of users of an organization. In these and other examples, the learning system 178 can generate models that capture patterns that the learning system 178 has learned, which can be stored in the storage 122 along with other data for an organization.

To support the learning system 178, in some implementations, the security monitoring and control system 102 includes a scanner 174 and a pattern analyzer 176. In these implementations, the scanner 174 can, for example, scan data for particular types of information. For example, the scanner 174 can extract the activities of a particular user, group of users, class of users, and/or all users associated with a particular tenant. As another example, the scanner 174 can extract activities relating to use of a particular service or set of services. As another example, the scanner 174 can extract activities relating to a particular service provider. In various implementations, the pattern analyzer 176 can use the data extracted by the scanner 174 to identify patterns in the data. For example, users and/or organizations may use services in repetitive ways or in cyclical ways. In these examples, the pattern analyzer 176 can identify repetitive behavior, and identify these patterns of behavior to the learning system 178.

In some examples, a data accesser 182 in the security monitoring and control system 102 can communicate with service providers to obtain activity data from those service providers. The activity data may be for a user account, a tenant account, a group account, or another type of account. The activity data may be obtained for a service, a particular type of data (e.g., a data for a particular attribute), one or more users, or combinations services, service providers, attributes, users, or other factors. In some examples, the data accesser 182 may process data to identify activity related to one or more criteria, such as one or more services, a particular type of data (e.g., a data for a particular attribute), one or more users, or combinations thereof.

In various implementations, the security management and control system 102 provides an interface 120 through which customers of the security management and control system 102 can use the services of the security management and control system 102. The interface 120 can provide, for example, a graphical user interface (GUI) that can display a control panel or dashboard that enables the organization's administrative users to configure the services of the security management and control system 102. The graphical user interface can further enable the administrative users to view reports of user activity with respect to the services 112 a-112 b of the service provider 110. The graphical user interface can further provide reports of security events and suggest remediation actions, and/or report on the outcome of remediation actions that the security management and control system 102 automatically performs. The graphical user interface can be implemented, for example, as software application that can be executed on the client devices 106 a-106 c of the organization 130. Alternatively or additionally, the graphical user interface can be implemented as a web-based interface (e.g., a website).

In some examples, the interface 120 can alternatively or additionally provide an API through which the organization 130 can manage the services provided by the security management and control system 102. The API can define actions to, for example, pull reports on user activity in using cloud services, pull reports on security events, issue instructions for remediation actions, obtain statistics on user activity, and/or other actions related to the services of the security management and control system 102. The API of the interface 120 can enable an organization to, for example, integrate the capabilities of the security management and control system 102 into the security infrastructure of the organization 130.

A system for security monitoring and control, in various implementations, can include multiple components that may be located on a single hardware platform or on multiple hardware platforms that are in communication with each other. Components can include software applications and/or modules that configure a server or other computing device to perform the operations of the security management and control system 102.

FIG. 2 illustrates a block diagram of an example cloud security system 200 that can be implemented by a security management and control system. In various implementations, the example cloud security system 200 can conduct network threat analysis for a tenant 220 of a service provider 230, and determine whether actions by users of the tenant 220 in using a service of the service provider 230 constitute a network threat. In various implementations, the cloud security system 200 can include user interface components 215 for interfacing with a tenant 220 and provider interface components 201 for interfacing with a service provider 230. On the back end, the cloud security system 200 can include various applications for conducting analytics and data stores for storing data used in the analytics.

In the context of the example of FIG. 2, the tenant 220 is a tenant of the service provider 230, meaning that the tenant 220 is using a service of the service provider 230. When the cloud security system 200 is provided as a cloud service, the tenant 220 can also be a tenant of the cloud security system 200, n that the tenant 220 is using the services of the cloud security system 200.

In various examples, the user interface components 215 include an administration console 214 and an analytics visualization console 216. Using the administration console 214, the tenant 220 can configure the security controls for the services of the service provider 230. Configuration of the security controls can include, for example, enabling or disabling or disabling access to the service by the tenant's users, enabling or disabling features of the service that the tenant's users can use, and other configurations that are available to the tenant 220. The analytics visualization console 216 can be used to view analytics generated by the cloud security system 200. For example, using the analytics visualization console 216, the tenant 220 can view reports of security incidents involving the tenant's users and a service to which the tenant 220 is subscribing. In various examples, the information displayed in the administration console 214 and the analytics visualization console 216 can be obtained from the data stores of the cloud security system 200.

In various implementations, the administration console 214 can provide the tenant 220 with a normalized view of controls for multiple cloud service and/or cloud service providers. The administration console 214 can include a user interface that displays a simplified view of controls for different cloud services on the same screen. Information provided to the administration console 214 can be retrieved from an application catalog database 208 using metadata based schema mapping. In some examples, administration console 214 can be used to assign consistent access policies across cloud services. In these examples, administration console 214 can display controls and/or set controls according to specified classifiers, such as, for example, standard, stringent, or custom, among others. In this example, a higher level classification corresponds to more stringent controls. In some examples, classification and/or designation of security controls complies with criteria specified by organizations such as the National Institute of Standards and Technology (NIST), International Organization for Standardization (ISO), and/or Payment Card Industry Data Security Standard (PCI DSS) and/or a specific certification offered by one such organization. In some examples, the administration console 214 can also provide for plug-in interfaces to integrate with SaaS, PaaS, and native applications.

In various implementations, the analytics visualization console 216 can display security indicators in a library format with risk factors that are color coded (such as red, green, yellow). Other statistics or metrics may be displayed such as, for example, user logins attempts, groups with the most newly added users, deleted files, users with the most deleted files, and/or users downloading the most files, among other metrics. Some types of information may be specific to a particular service provider. For example, for Salesforce.com, the metrics can include the identities of users that are downloading opportunity or budget data, contracts, or contacts. In some examples, the analytics visualization console 216 provides a unified view of security controls for a tenant's cloud services. The analytics visualization console 216 may display a values set for any or all security controls set for different cloud services, as well as deviations of the current values from values associated with predetermined policies or configurations.

In various examples, the provider interface components 201 can applications that the cloud security system 200 can use to interface with the service provider 230. These components can include a cloud crawler application 202, a cloud seeder application 204, and a data loader application 206.

In various examples, the cloud crawler application 202 can retrieve information about security controls from the service provider 230. Data retrieved by the cloud crawler application 202 can be entered into an application catalog database 208. Retrieving information can include, for example, sending requests to the service provider 230 that are formulated to ask the service provider 230 for the security controls that are available for a service, and any available settings for the security controls. Alternatively or additionally, the service provider 230 can include an API through which the cloud crawler application 202 can obtain security controls for a service. In various examples, a cloud crawler application 202 can retrieve software defined security configuration data from the service provider 230. Software defined security configuration data can describe the configuration of security controls for a particular service. Security controls are mechanisms that restrict access to the application and/or data housed by the cloud service provider. For example, software defined security configuration data can include data describing roles that are defined for users, groups, and grouping of users; encryption keys; tokens; access controls; permissions; configurations; types of authentication policies; mobile access policies; and many other types of security controls.

In various examples, the cloud crawler application 202 can connect to the service provider 230 in order to obtain software defined security configuration data. The service provider 230 may require authorization or some other manifestation of consent for access to the service provider's systems. Authorization may be provided by a token (such as using the Open Authorization (OAuth) open standard for authorization) or by credentials (such as a username and password). The token or credentials can be that of the tenant 220, or a token or credential associated with the cloud security system 200. Various other techniques can be used to authorize access to a cloud provider's system and data. The connection may also include providing a service Uniform Resource Locator (URL).

In various examples, the software defined security configuration data can be collected by using an API of the service provider 230. Examples of APIs and classes of APIs include Representational State Transfer (REST), Java 2 Platform, Enterprise Edition (J2EE), Simple Object Access Protocol (SOAP), and native programmatic methods (such as native application API's for Java), among others. The information could also be requested using other techniques, such as scripting languages (such as Python and PHP), deployment descriptors, log files, database connectivity through Java Database Connectivity (JDBC) or REST, and resident applications (such as cloud beacons). The information that is sent or received can be represented in a variety of format, such as, JavaScript Object Notation (JSON), Extensible Markup Language (XML), or Comma Separated Values (CSV), among other formats.

Table 1 below provides an example of some security controls provided by cloud services providers Box and Amazon Web Services (AWS). Other cloud services providers can have similar security controls or other security controls.

TABLE 1 Support in Amazon Web Security Controls Support in Box Services (AWS) Users/Group Management REST (Representational State AWS IAM (Identity and Transfer) API Access Management) APIs Credentials and Identifiers N/A Secure and monitor Accounts, tokens, keys etc. Login/Logout Events REST API AWS CloudTrail - Events API and Log files IP address of the clients REST API AWS CloudTrail - Events API and Log files Device (iphone, ipad etc) used REST API AWS CloudTrail - Events API by the clients and Log files Password Policies REST API AWS IAM policies Resource Access Permissions Resources: Files, Folders Resources: EC2, S3, EBS Actions: Editing, Preview, Actions: Create, Access, upload, collaboration events Restart, Terminate, etc. IP address based access controls Restrict or limit Mobile access Limit users from saving AWS IAM policies content for offline access Roles BOX has pre-defined admin Roles can be created using roles pre-defined policies

Table 2 provides an example of some of the security controls and supported access for cloud services provider Salesforce.com. Other cloud services providers can use similar or other security controls and access controls.

TABLE 2 Security Controls Support in Salesforce.com Users/Group Management SalesForce User/Group/Profiles APIs Credentials and Identifiers APIs: Setup changes Login/Logout Events APIs: Audit activity IP address of the clients APIs: Audit activity Device (iphone, ipad, etc.) API to manage Setup changes used by the clients Password Policies APIs: Setup changes Resource Access Permissions Salesforce object monitoring using object history Restrict or limit Mobile access APIs to manage Setup changes Roles Salesforce Profiles

In various examples, the cloud crawler application 202 can generate security controls metadata from the software defined security configuration data obtained from the service provider 230. The security controls metadata is normalized descriptors for entering the information into a common database such as the application catalog database 208. The security controls metadata can be categorized (e.g., mapped into categories) and indexed. The categorization may comply with a standard specified by a security organization and/or may be certified and/or audited by a third party. In addition, the security controls metadata and/or the categorization of metadata may be formulated around the requirements of a particular regulation or standard. For example, regulations and standards such as the Health Insurance Portability and Accountability Act (HIPAA), the Sarbanes-Oxley Act, the Federal Risk and Authorization Management Program (FedRAMP), and/or the Payment Card Industry Data Security Standard (PCI DSS) may require reporting and audit trails. The security controls metadata can be formatted in a way to display the types of information required by the regulations and standards and facilitate the generation of reports needed.

The security controls metadata can be stored in the application catalog database 208. In some examples, the application catalog database 208 is an Apache Cassandra database, an open-source NoSQL database management system designed to handle large amounts of data across many commodity servers. In some examples, the application catalog database 208 is implemented using types of databases appropriate to the application. In some examples, a variety of databases can be used to store an application catalog for later retrieval, report generation, and analytics generation.

In various implementations, other methods can be used to retrieve software defined security configuration data and to generate security controls metadata. Additionally, various types of controls and mechanisms for retrieving software defined security configuration data may be supported by different cloud service providers. For example, other cloud applications such as Office 365, GitHub, Workday, and various Google applications use retrieval mechanisms specific to a service. Furthermore, processes for retrieving software defined security configuration data can be automated, depending on what is supported by a cloud service provider.

In various implementations, the cloud seeder application 204 can be used to implement security policies for the tenant 220. The cloud seeder application 204 can, for example, set security controls for a tenant's accounts with the service provider's services The security controls can affect, for example, one user account, multiple users accounts, or all user accounts. In some examples, the cloud seeder application 204 can set security controls in various situations. For example, the cloud seeder application 204 can set security controls as part of remediation of a threat or when called on by the tenant 220. In various examples, the cloud seeder application 204 can be used to coordinate consistent access policies across cloud services. In some examples, security controls can be coordinated across several accounts that an organization has with different service providers. For example, different levels of security may be defined such that, when a higher or lower level of security is selected, the security controls for an organization's accounts with different cloud services are all set to reflect the higher or lower level of security. In this way, a unified policy and security controls configuration can be enforced. The values for various security controls at different levels of security can be defined by input into a user interface, such as a controls management platform discussed above, and the values associated with the security controls at each level of security can be stored in a database. A user interface can be provided to show security controls for a organization's account with a cloud service and the assignment of security control values at a security level. As an example, security controls at a “stringent” level of security can include password requirements for a user account such as ten minimum characters, two numbers, one special character, one uppercase letter, no reuse of the last ten passwords, etc.

In various implementations, the data loader application 206 can retrieve activity data for the tenant 220 from the service provider 230. The activity data can come from logs generated by the service provider 230 as the tenant's users use the service providers services. In various examples, the data loader application 206 can obtain the activity data by requesting the data from the service provider 230. The data retrieved by the data loader application 206 can be entered into a landing repository 210 and/or analytics and threat intelligence repository 211. The data entered into a landing repository 210 may be in different formats and/or have different ranges of values, due, for example, from having been collected from different service providers. In some examples, the data from the data loader application 206 can be reformatted and/or structured before being moved to the analytics and threat intelligence repository 211 so that, for example, the data has a uniform format.

In various examples, the data loader application 206 can obtain activity data by connecting to and communicating with the service provider 230. In various examples, the connection is made over an encrypted communication channel. In some examples, the connection can be authenticated by a token or using login credentials, or another authentication method. In some examples, collection of activity data is scheduled to occur periodically (e.g., every four hours, every six hours, or at some other time interval). In some examples, the schedule for collection is configurable by the tenant 220. In some examples, the data loader application 206 collects data in real time as events occur, using a real-time computation system such as, for example, Apache Storm, open source distributed real-time computation system. The data loader application 206 may be configured to designate certain events or activities as high risk events, and these events can be retrieved near real-time, outside of the scheduled retrieval interval.

In various examples, activity data can include various types of information about the user of the service provider's services. For example, activity data associated with user accounts can include information relating to the use of, and/or actions taken with, a user account for a service. In this example, the activity data can include sources of information such as user logs and/or audit trails. More specific types of activity data can include, for example, login and logout statistics (including attempts and successes), file operations, access metrics, network download/upload metrics, application metrics (e.g., use, operations, functions, etc.), IP addresses used to access a service, devices used to access service, and/or cloud resources that were accessed (such as, for example, files and folders in a file management cloud application [such as Box], employees and contractors in a human resource cloud application [such as Workday], and/or contacts and accounts in a customer relationship management cloud application [such as Salesforce]). In various examples, activity data can include the user account or other user identifier for the user associated with the events or statistics. In various examples activity data can include information about system status or activity of a cloud system such as, for example, server activity, server reboots, security keys used by a server, and system credentials, where this information is visible or accessible to a system using authorized credentials.

In some examples, activity data may also include information about the security configuration of a tenant account, possibly including the security configuration of user accounts associated with the tenant account. The security configuration can include the values to which security controls for a tenant and/or user accounts associated with the tenant are set.

In various examples, the data loader application 206 can store retrieved activity data in the analytics and threat intelligence repository 211. The analytics and threat intelligence repository 211 can be any database or data repository with query capability. In some examples, the analytics and threat intelligence repository 211 is built in a NoSQL based infrastructure such as Apache Cassandra or another distributed data processing system, although any data warehouse infrastructure may be used as appropriate for the application. In some examples, the data is first entered into the landing repository 210 and reformatted and/or structured before being moved to the analytics and threat intelligence repository 211.

In some examples, the activity data may be received in different formats that are used by different service providers or services. For example, the data may be formatted in JSON or other data interchange formats, or may be available as log files or database entries. In some examples, the data loader application 206 performs operations for normalizing the data and reformatting the data into a common format for storage in, and retrieval from, the analytics and threat intelligence repository 211. Reformatting the data may include categorizing and structuring the data into the common format. In some examples, the database is adaptive to structural changes and new values, and can run automated processes to check for changed data. In some examples, the cloud crawler application 202 recognizes differences in the structure or values of the data retrieved, and can apply the changes to the application catalog database 208 and/or the analytics and threat intelligence repository 211.

In some examples, the data loader application 206 can pre-generate system reports. The system reports can be generated by jobs (e.g., processes) that are scheduled to run on the data set at periodic intervals. Data stored in an application catalog database 208 and/or analytics and threat intelligence repository 211 can be used to generate a variety of reports. Categories of reports can include, for example, authentication and authorization, network and device, systems and change data, resource access and availability, malware activity, and failures and critical errors, among others. Reports can be based on various attributes such as, for example, per application, per user, per secured resource, and per device used for access, among others. Reports may highlight recent changes such as updated features in a cloud application or newly modified policies. Reports may be pre-generated by scheduled jobs (e.g., for performance reasons) or may be requested by a user or administrator.

In some examples, reports include analytics generated on the data. Analytics may use Apache Software Foundation technologies such as Hadoop, Hive, Spark, and Mahout or other features as available in the data storage framework used. In some examples, the R programming language is used to generate analytics. In some examples, the generation of analytics includes the use of machine learning algorithms, proprietary algorithms, and/or external threat intelligence from external commercial sources such as FireEye and Norse or public threat intelligence communities such as Zeus and Tor.

In various implementations, the aggregation of activity information in the analytics and threat intelligence repository 211 concerning access patterns and other event statistics enables the system 200 to establish baselines of behavior. Machine learning techniques, for example, can be applied to detect threats and provide recommendations concerning how to respond to threats. Threat models can be developed to detect threats that are known or unknown or emerging. Threats can also be identified by comparing activity data with external threat intelligence information, such as information provided by third-party providers, as discussed further below. In various examples, data in the analytics and threat intelligence repository 211 can further be used to generate reports that may be presented visually to a system administrator via a user interface and to generate analytics for determining threat levels, detecting specific threats, and predicting potential threats, among other things.

In some examples, a single user of the tenant 220 can have multiple accounts with the service provider 230 and/or with the services provided by the service provider 230. In various examples, the various user accounts of one user can be associated together in a user identity repository 209. In some examples, the user identity repository 209 can group together the user accounts the user has with multiple service providers. In some examples, the tenant 220 can have a tenant account with the service provider 230. In these examples, the user identity repository 209 can associate users of the tenant 220 with the tenant account, which can associate the user accounts of the users with the tenant account as well. The association of user accounts to tenant accounts may be used in various ways, such as retrieving information about the user activity of the tenant's users. In some examples, the tenant account's credentials with the service provider 230 may be used to log into the service provider 230 to retrieve activity data for user accounts that are associated with the tenant account.

In various implementations, the user identity repository 209 can also be used to facilitate tracking of user activity and generation of profiles, where a profile can describe a particular user's use of a cloud service or of multiple cloud services. In some examples, the cloud security system 200 can use the profile of a user to take actions that affect multiple cloud services. For example, the cloud security system 200 can preemptively alert a system administrator when a user's activity in using several cloud services may be a security risk. Alternatively or additionally, as another example, the cloud security system 200 can proactively secure other services on which a user maintains data by applying remedial measures, such as adding additional steps to authentication, changing passwords, blocking a particular IP address or addresses, blocking email messages or senders, or locking accounts, among other things.

In various implementations, the cloud security system 200 can include applications or software modules to perform analytics on data collected by the cloud security system 200. The applications or software modules may be stored in volatile or non-volatile memory and, when executed, can configure a processor to perform certain functions or processes. These applications can include a descriptive analytics application 207 and a prediction analytics application 212. In some examples, the descriptive analytics application 207 can generate analytics such as statistics on users, user activity, and resources used by the users. In some examples, the threat detection and prediction analytics application 212 can generate analytics using machine learning and other algorithms. The analytics performed by the prediction analytics application 212 can include identifying and predicting security threats from patterns of activity and behavioral models. Analytics performed by the descriptive analytics application 207 and the prediction analytics application 212 can be performed using data stored in the analytics and threat intelligence repository 211.

In various implementations, the cloud security system 200 can include remediation functions that provide manual and/or automated processes for responding to threats. In some examples, analytics can use information received from tenant systems that describes threat intelligence provided by the tenant. These sources, which are referred to in the example system 200 as tenant base lines 217, can include information such as specific IP addresses to watch or block, users to watch or block, email addresses to watch or block, software vulnerabilities to monitor, browsers or browser versions that can be susceptible to misuse, and/or vulnerable mobile devices or versions of mobile hardware or software, among other things. In some examples, analytics can use information received from an external third-party feed 218. The source of the third-party feed 218 can be, for example, a threat intelligence aggregator or distributor. The information from the third-party feed 218 can be used to augment the threat analytics of the cloud security system 200 by providing external information about security threats. The external information can include, for example, identification of infected node points, malicious activity from a particular source IP address, malware infected email messages, vulnerable web browser versions, and known attacks on clouds, among other things.

In various implementations, an incident remediation application 213 can be used to coordinate and/or perform remediation actions in response to detected threats. In some examples, the incident remediation application 213 may be called when a recommended remediation action is presented and selected in an alert. The incident remediation application 213 may perform the selected remediation action or instruct another application, such as a cloud seeder application 204, to perform the selected remediation action. When the selected remediation action is to be manually performed or is external to the security system 200, the incident remediation application 213 can track the status of the remediation action and whether the remediation action is complete. In some examples, the incident remediation application 213 can be used to store the results of a manual or automated remediation action. In some examples, a selected remediation action is to be performed by a system external to the security system 200, such as by a third-party's or a tenant's incident remediation system. In these examples, the incident remediation application 213 can instruct or invoke the third-party's or tenant's incident remediation system to perform the action. For example, the incident remediation application 213 may have access to an automated integration process of the third-party or the tenant 220.

FIG. 3 illustrates a block diagram of an example analytics engine 300 of a security management and control system. In various examples, the analytics engine 300 can analyze various data sources to identify network threats for an organization whose users are using cloud services. In various examples, the operations of the analytics engine 300 can be used to detect and/or address various treat scenarios.

One example of a threat scenario is IP hopping. In an IP hopping scenario, an attacker may use one or more proxy servers to hide the attacker's true location or machine identity before mounting an attack. Detection of this type of scenario can involve geographic resolution (e.g., identifying or looking up a geographic location associated with an IP address) of each IP connection used to connect to a cloud application. Detection can further include detecting anomalous characteristics in the spatial data, and predicting a threat from this information. Metrics used for detection can include, for example, a count of the number of unique IP addresses used by a user per day and/or a velocity, which can refer to the time difference between the use of different IP addresses and the/or duration that each IP address used.

Another example of a threat scenario is an unusual geolocation scenario. An unusual geolocation scenario may refer to activities being originated in locations that are unexpected or outside of an established pattern. This scenario may include activities such as, but not limited to, successful logins or file upload/download from unusual geolocations.

Another example of a threat scenario is a brute force attack. An example of a brute force attack is when an attacker's attempts to try many passwords in order to discover a correct password and compromise a user account. Detection may involve evaluating the velocity of failed login attempts and patterns in event activities to predict a brute force attack. In some examples, brute force attacks may have different speeds, such as a slow attack speed or fast attack speed. Metrics for detection can include, for example, an unusually high number of login failures for existing valid accounts and/or an unusually high number of login attempts with invalid or terminal/suspended usernames.

Another example of a threat scenario is an insider threat. Insider threats can refer to security breaches perpetrated by a person from within a network. For example, an employee of an organization, who has been authorized, through the course of employment with the organization, may misuse the authorization and intentionally or unintentionally case a security breach. Detection of an insider threat can involve tracking a user's normal behavior and generating alerts when events or activities associated with the user's account or accounts deviate from the norm. Metrics can include, for example, an usually high use of corporate resources such as a high number of downloads and/or an employee with a low rating downloading or sharing an unusually high number of files/folders, deleting code from a source code control system, or downloading, deleting, or modifying customer information, among other things.

Another example of a threat scenario is application misuse. Application misuse is a scenario that can include events associated with a terminated or suspending employee (e.g., use of an expired or revoked user account, use cryptographic keys such as a Secure Shell (SSH) key, etc.) or a malware-infected device performing an unusual number of file downloads/uploads using valid credentials, but an unusual geolocation or IP address, for example.

While specific threat scenarios and types of information that can be used to discern these scenarios are discussed above, one skilled in the art would recognize that threat detection and prediction may utilize any of a variety of information and formulas.

In various examples, the analytics engine 300 can detect the threat scenarios discussed above, as well as other threat scenarios, by examining various external and internal data sources. External data sources can provide activity data 310 obtained from cloud service providers. In some examples, external data can optionally include tenant base lines 317 and third-party data 318. In some examples internal data sources can include data models determined by a behavioral analytics engine 304 and can optionally include threat intelligence data 314 maintained by the security management and control system.

In various examples, cloud services can store user activities as user use the cloud services. For example, a cloud service can store each occurrence of a user logging in to use the service, the actions the user performs while using the service, the resources affected by the actions, data that is moved into, out of, or within the service, and/or the user logging out at the end of a session, among other things. In these and other examples can store the user's activities in a log file, which is referred to herein as an activity log. An entry in an activity log can include, for example, an action performed or a description of an action performed, identification of a user who performed the action, a resource affected by the action, the time at which the action was performed or what time the action was initiated and/or completed, and/or a network location or geolocation for the user who performed the action, among other information. In the example of FIG. 3, the activity data 310 can include activity logs for multiple services and/or multiple service providers. In these and other examples, one activity log can include user activity for one service or for multiple services provided by the same service provider.

In various examples, the analytics engine 300 receives updated activity data 310 once per day, every other day, or periodically over another time interval. In some examples, the analytics engine 300 receives activity data 310 when certain events occur, such as a service indicating that an event has occurred (e.g., the service has been updated or the service has detected a network threat or another event originating at the service), the organization indicating that an event has occurred (e.g., the organization having added users to the service or a network administrator requesting an updated analysis or another event originating at the organization), or the security management and control system indicating that an event has occurred (e.g., receipt of new threat intelligence data 314 or another event originating at the security management and control system.

In some examples, activity logs from different cloud services may have different formats. For example, entries in one activity log may be provided as comma-separated values, while another activity log may use JSON syntax. In these and other examples, the data in the activity logs may be normalized by the analytics engine 300 or prior to being provided to the analytics engine 300. Normalizing the activity data 310 include reformatting the activity data 310 such data from different services and/or service providers is comparable, has the same meaning, and/or bears the same significance and relevance. After normalization, the behavioral analytics engine 304 can aggregate and compare data from different cloud services in meaningful ways. For example, a series of failed login attempts by one user with one cloud service may be deemed not to be a threat. However, a series of failed logins by the same user but at multiple different cloud services indicate a concerted effort to crack the user's password and should thus set off an alarm.

In various examples, the activity data 310 can be ingested in the analytics engine 300 by a behavioral analytics engine 304. In various implementations, the behavioral analytics engine 304 can collect statistics from the activity data 310 and identify behavioral characteristics from the activity data 310. Statistics can include, for example, counts of actions, such as successful login attempts or failed login attempts. In some examples, statistics can be associated with a particular service provider, a particular service, a particular user, a particular action that can be performed in using a service, a particular time frame, other factors, and/or a combination of factors.

In various implementations, the behavioral analytics engine 304 can use statistical data generated from the activity data 310 to determine activity profiles, which are also referred to herein as behavioral profiles. For example, the behavioral analytics engine 304 can generate an activity profile that describes the common or typical usage pattern of a service by the users of a particular organization. As another example, the behavioral analytics engine 304 can generate an activity profile for a particular user or group of users. In this example, the activity profile can describe a user's activity in using one service or multiple services. In various examples, to identify a user's activity across services, the behavioral analytics engine 304 can have access to user identity data, which can link together a particular user's accounts with different cloud services. the user identity data can include, for example, the user's username or other form of identification with each cloud service. In various examples, the user identity data can be provided by an organization. Alternatively or additionally, in some examples, the security management and control system can automatically determine that different user accounts are related. For example, the security management and control system can assume that user accounts with the same user name or originating with the same IP address or Media Access Control (MAC) address should be linked.

In some examples, the behavioral analytics engine 304 can include contextual data in the activity profile for a user. Contextual data can be obtained, for example, from third-party data 318, where the source of the third-party data 318 is a reputation system, a social media system, a news aggregator or provider, or another system that can maintain information about a user. Examples of contextual data include, travel location and itinerary from travel applications or email, employee status from healthcare management systems, sensitive financial time period from a Salesforce application, and/or sensitive emails from email servers, among other data. In some examples, contextual data can additionally or alternatively be obtained from client devices used by the user. In these examples the contextual data can include, for example, identification of a type of the client device, IP addresses used by the client device, geolocation data computed by a Global Positioning System (GPS) receiver of the client device, and other information about the client device or that can be obtained from the client device.

In various examples, activity profiles can cover different time periods. In some examples, activity profiles can use a fixed moving window covering a time period measured in weeks. In some examples, an “emerging profile” can be generated, which capture events that are relatively recent, such as within the last week or within a week prior to a target date. In some examples, a “stable profile” can be generated, which includes events within the last four (or eight) weeks or within four (or eight) weeks prior to a target date. In various examples, other profiles or profile types can be generated.

In some examples, fixed moving windows can be non-overlapping. That is, a window that goes further back in time can exclude events in a window that is more recent in time. For example, an eight week profile does not include events in a four week profile or one week profile and similarly the four week profile does not include events within the one week profile. Daily (or periodic) aggregation processes may be run intra-day or inter-day.

Table 3 below shows example calculated statistics for some user activities. The example user activities include an average login count for a four week window profile (“avglogcntday4wk”), an average login IP address count for a four week window profile (“avglogipcntday42k”), a standard deviation of login count for a one week window profile (“stdlogcntday1wk”), and a standard deviation of login IP address count for a one week window profile (“stdlogipcntday1wk”). Similar and other statistics can be calculated, depending on the available data and/or the threat being predicted.

TABLE 3 User ID avglogcntday_4wk avglogipcntday_4wk stdlogcntday_1wk stdlogipcntday_1wk User 1 5 4 3 2 User 2 6 2 2 1 User 3 4 3 2 2 User 4 4 4 2 1 User 5 5 5 1 1

Statistics such as those illustrated above can be combined into a feature vector. Feature vectors can include, for example, a count of a number of logins, a count of a number of distinct IP addresses used for logging in, a maximum distance between any two IP addresses used to log in within a 24-hour time period, a count of a number of distinct browsers used in connections to the cloud application within a 24 hour time period, and/or other measures. Feature vectors may be aggregated per cloud application and/or per user per cloud application.

Table 4 below shows example daily aggregation matrix vectors. The first column provides example application providers, the second column illustrates vector dimensions that may be supported by the providers, and the third column illustrates values that can be assigned to each dimension.

TABLE 4 Application Dimension Description Amazon, Salesforce, Login (# of count, Avg, Stddev, Max) Box Amazon, Salesforce, Failed Login (# of count, Avg, Stddev, Max) Box Amazon, Salesforce, Login IP (# of count, Avg, Stddev, Max) Box Amazon, Salesforce, Failed Login IP (# of count, Avg, Stddev, Max) Box Box Download (# of count, Avg, Stddev, Max) Box Download IP (# of count, Avg, Stddev, Max) Salesforce Browsers (# of count, Avg, Stddev, Max) Salesforce Mass Delete, Mass Transfer, Data (# of count, Avg, Stddev, Max) Export Salesforce Certificate and Key Management (# of count, Avg, Stddev, Max) Salesforce Network Access and IP Whitelist (# of count, Avg, Stddev, Max) Changes Salesforce Manage User Changes (# of count, Avg, Stddev, Max) Salesforce Platforms (# of count, Avg, Stddev, Max) Salesforce Password Policy Changes (# of count, Avg, Stddev, Max) Salesforce Shared Setting Changes (# of count, Avg, Stddev, Max) Amazon EC2 Instance Changes (# of count, Avg, Stddev, Max) Amazon Security Group Changes (# of count, Avg, Stddev, Max) Amazon SSH Key Pair Changes (# of count, Avg, Stddev, Max) Amazon Network ACL Changes (# of count, Avg, Stddev, Max) Amazon VPN Connection Changes (# of count, Avg, Stddev, Max) Amazon SAML Changes (# of count, Avg, Stddev, Max) Amazon VPC Changes (# of count, Avg, Stddev, Max) Amazon IAM Access Key Changes (# of count, Avg, Stddev, Max)

Table 5 below lists example values for several possible daily aggregation matrix vectors. The example vectors illustrated here include a count of logins per day for one day (“logcntday_1dy”), a count of failed logins per day for one day (“logfailcntday_1dy”), a count per day of IP addresses from which failed logins occurred over one day (“logfailipdisday_1dy”), and a count per day of IP addresses used to log in over one day (“logipdisday_1dy”).

TABLE 5 User ID logcntday_1dy logfailcntday_1dy logfailipdisday_1dy logipdisday_1dy User 1 5 4 3 2 User 2 6 2 2 1 User 3 4 3 2 2 User 4 4 4 2 1 User 5 5 5 1 1

In various examples, activity profiles determined by the behavioral analytics engine 304 can be used by the threat detection engine 302 to identify usage of a cloud service that may pose a threat to an organization that is using the cloud service. In some examples, the threat detection engine 302 applies security policies to identify a threat. A security policy can describe an event that, when the event occurs, the event is brought to the attention of the organization and/or the security management and control system. For example, security policies can specify actions, such as downloading a file containing credit card numbers, copying encryption keys, elevating privileges of a normal user, and so on, that need to be brought to the attention of the organization. In some examples, a security policy can also describe an action that is to be taken when an event is detected, such as blocking access to a service, or disabling a user account.

In some examples, the threat detection engine 302 conducts anomaly detection to identify a threat. Anomaly detection can involve searching for statistical variations from an established norm. In some examples, the operations of the threat detection engine 302 can be augmented by a tenant base line 317, which can include threat intelligence from the organization. In some examples, the threat detection engine 302 can alternatively or additionally receive threat intelligence data 314 that is maintained by the security management and control system, and/or third-party data 318 that includes threat intelligence from, for example, threat intelligence aggregators or distributors.

Provided below are various example algorithms that can be used for anomaly detection. These algorithms are provided as examples, and other algorithms can be used.

Algorithm 1 is one example of an algorithm that can be used to determine login IP address variations. Z-scores can be calculated for a login IP address feature vector over different time periods. The example that follows uses one week, four weeks, and eight weeks as examples of time different time periods, resulting in three Z-scores:

${L\; 1\mspace{14mu}{ZScore}} = \frac{{{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {1\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{{{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {4\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{{{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {8\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Login}\mspace{14mu}{IP}}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In some examples, the sum of the weights is one. Weights that are applied may be calculated dynamically depending on when the calculation is performed. For example, at day one, default baselines may be applied using values calculated based on existing data, including a default Avg (average) and default Stddev (standard deviation). As a further example, for the first week, starting from day two, an L1 Z-Score is available, so that the weights can be set to w1=1, w2=0, w3=0. Continuing with the example, after five weeks, L1 and L2 Z-Scores are available, and the weights can be set to w1=0.4, w2=0.6, w3=0. After 14 weeks, L1, L2, and L3 Z-Scores are available, so that the weight can be set to w1=0.2, w2=0.3, w3=0.5. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

Algorithm 2 is an example of an algorithm that can be used to detect failed login IP address variations. Z-Scores may be calculated for a login IP address feature vector over different time periods, here illustrated as one week, four weeks, and eight weeks, as an example:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}} \end{matrix}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}} \end{matrix}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}} \end{matrix}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}$

The Z-scores for the failed login IP addresses may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, weights that are applied may be calculated dynamically depending on when the calculation is performed. For example, at day one, default baselines may be applied using values calculated based on existing data, including a default Avg (average) and default Stddev (standard deviation). In this example, the weights can be varied as the weeks progress, as provided in the example of Algorithm 1. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

In various examples, anomalous activity that is detected for a user of one cloud service can be used by the threat detection engine 302 to calculate or re-calculate the likelihood of a threat in the use of another cloud service. In this way, new events occurring during the use of one cloud service can be screened proactively to detect and/or predict threats in the use of another cloud service. In various examples, multiple data points across different cloud services can be correlated to increase the accuracy of a threat score.

Algorithm 3 provides an example of an algorithm that can be used for analytics of multiple application behavior. In algorithm 3, user IP addresses associated with various cloud service activities (such as logging in) are resolved to geolocation coordinates IP1 (Latitude 1, Longitude 1), IP2 (Latitude 2, Longitude 2), IP3 (Latitude 3, Longitude 3), etc. If a user has different usernames with different cloud services, the various usernames associated with that user can be mapped to a unique user specific identity that identifies the user across the services. The distance between any two IP addresses used for logins (e.g., login attempts, successful logins, and/or failed logins) with any of a number of cloud service (e.g., Amazon Web Services, Box, Salesforce, etc.) can be calculated using any of a variety of distance measurements and/or formulas. In some examples, the distance d is calculated using the Haversine Distance formula, as follows:

  Diff_(Long) = Longitude  2 − Longitude  1   Diff_(Latitude) = Latitude  2 − Latitude  1 $a = {\left( {\sin\left( \frac{{Diff}_{Latitude}}{2} \right)} \right)^{2} + \left( {{{\cos\left( {{Latitude}\mspace{11mu} 1} \right)} \times {\cos\left( {{Latitude}\mspace{11mu} 2} \right)} \times \left( {\sin\left( \frac{{Diff}_{Long}}{2} \right)} \right)^{2}\mspace{20mu} c} = {{2 \times {atan}\; 2\mspace{11mu}\left( {\sqrt{a},\sqrt{1 - a}} \right)\mspace{20mu} d} = {R \times c}}} \right.}$

In the equation for d, R is the radius of the Earth.

Z-Scores can be calculated to determine deviation of user behavior over different time periods using maximum distances as calculated above. As an example, time periods of 1 week, 4 weeks, and 8 weeks are shown:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{between}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\mspace{14mu}\begin{matrix} {4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}} \\ \left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{between}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\mspace{14mu}\begin{matrix} {8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}} \\ \left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{between}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, weights that are applied may be calculated dynamically depending on when the calculation is performed. For example, at day one, default baselines may be applied using values calculated based on existing data, including a default Avg (average) and default Stddev (standard deviation). In this example, the weights can be varied as time progresses, as provided above. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

Algorithm 4 provides an example of an algorithm for determining variations in the browser or operating system (OS) used when a cloud application is accessed. Z-Scores may be calculated using a feature vector that represents a count of the number of different browsers or operating systems used when accessing a cloud application, where the accesses occurred over various time periods. Periods of one week, four weeks, and eight weeks are used below, as an example:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {\left\{ {{Browser},{OS}} \right\}\mspace{11mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, default baselines can be initially applied, and as time progresses, the weights can be varied as more data becomes available. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

Algorithm 5 provides an example of an algorithm for determining variations in the number of downloads from a cloud application. Z-Scores may be calculated using a feature vector representing a count of the number of downloads for a user account over various time periods, such as one week, four weeks, and eight weeks, as provided in the following example:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Download}\mspace{14mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Download}\mspace{14mu}{ounts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {{Download}\mspace{14mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Download}\mspace{14mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Download}\mspace{14mu}{ounts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {{Download}\mspace{14mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Download}\mspace{14mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Download}\mspace{14mu}{ounts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{\;\begin{matrix} {{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}}\mspace{11mu}} \\ \left( {{Download}\mspace{14mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right) \end{matrix}}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, default baselines can be initially applied, and as time progresses, the weights can be varied as more data becomes available. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

In various examples, scores such as those illustrated above, as well as other indicators, can be used to compute a risk score, which is also referred to herein as a measure of security. In various examples, the threat detection engine 302 can compute a risk score for a user, a group or category of users, a service, and/or a service provider. A risk score can indicate a degree of security risk. For example, a scale from one to five can be defined, where a higher value indicates that a user or a service poses a higher security risk for an organization.

Indicators used to compute a risk score can provide a particular risk factor, also in the form of a score. For example, an outcome of anomaly detection can include an indicator in the form of a score that indicates a degree of deviation from the norm and/or a degree of risk the anomaly poses to the organization. In some examples, each anomaly associated with the same user or the same service can be used as a separate indicator. In various examples, other indicators that can be used to compute a risk score can be associated with a user, a service, a service provider, a geolocation where the user appears to be located, a domain where the user appears to be located, a time of day or day of the week or time of the year, or another factor. An indicator for a user can be obtained, for example, from the organization with which the user is associated, from a reputation site, from social media sites, from news organizations, or from another source. An indicator for a service or service provider can be obtained, for example, from threat intelligence aggregators or distributors, who may track the reputation of a service or service provider. Other indicators may be provided by internal threat intelligence data 314.

In various examples, a risk score can be computed as a weighted sum of the available indicators. For example, given indicators “I₁, I₂, . . . , I_(n)” a risk score can be computed using the equation:

${{risk}\mspace{14mu}{score}} = \frac{{I_{1}W_{1}} + {I_{2}W_{s}} + \cdots + {I_{n}W_{n}}}{W_{1} + W_{2} + \cdots + W_{n}}$

In the preceding equation, “W₁, W₂, . . . W_(n)” are weights. In various examples, a weight value can indicate the relative importance of an indicator, with less important indicators receiving a lower weight value.

In some examples, the analytics engine 300 may obtain feedback on the validity and/or accuracy of a risk score. As an example, network administrators of an organization can provide feedback. As another example, administrators of the security management and control system can provide feedback. Alternatively or additionally, in some examples, feedback can be obtained using automated machine learning algorithms, such as decision trees and neural networks. In some examples, the analytics engine 300 can adjust weights, indicators, and/or sources using the feedback, including possibly removing sources or indicators. In these and other examples, the threat detection engine 302 can compute a new risk score with the adjusted indicators and weights.

In various examples, the threat detection engine 302 can perform regression analysis on each indicator used to compute a risk score, and/or on the risk score. Regression analysis may include building and updating a linear regression model. A linear regression model may provide output such as S=c₁(I₁)+c₂(I₂)+ . . . +c_(n)(I_(n)). The coefficients c_(i) computed by the regression model could be new or modified weights that would replace the initial weights for computing the risk score. The model can provide greater accuracy as more feedback and more data is collected.

In various examples, the analytics engine 300 can perform various other analytics 306 on the activity data 310 obtained from service providers. In some examples, various types of algorithms can be particularly useful for analyzing the data. Decision tree, time series, naive Bayes analysis, and techniques used to build user behavior profiles are examples of machine learning techniques that can be used to generate predictions based on patterns of suspicious activity and/or external data feeds. Techniques such as clustering can be used to detect outliers and anomalous activity. For example, a threat can be identified based on an account accessing one or more files or failing a series of login attempts from an IP address that is flagged (by a third party feed or otherwise) as malicious. In a similar way, a threat can also be based on different patterns of activity with one cloud application or across multiple cloud applications, possibly over time.

One class of analytics that may be generated is descriptive or statistical analytics. Statistical data can be generated using a pre-defined set of system queries, such as, for example, MapReduce jobs and Spark and Apache Hive queries, among others. Descriptive analytics can be generated either for a single service or across multiple services using correlation techniques. Examples of reports that can be generated include, for example, login statistics (e.g., users with the most failed logins, IP address-based login history including consideration of IP reputation, geolocation, and other factors), user statistics (e.g., users with the most resources [files, EC2 machines, etc.], entitlements across clouds, number of changed passwords, and so on), activity statistics (e.g., activity of a user across clouds), statistics on key rotation (e.g., whether SSH keys have been rotated within the last thirty days, and so on), and resource statistics (e.g., number of folders, files downloaded by users, files downloaded by roaming or mobile users, and so on), among others. Various statistical analysis techniques can be used, such as mean, standard deviation, regression, sample size determination, and hypothesis testing, among others. Trends may be identified, such as login activity within a certain time period, password related support issues based on past history of such issues, or identifying types of mobile devices which see the most activity within a certain time period. Data in a report can be displayed on a user interface as an event viewer showing a “wall” of events along with actions that a user can take in response to or to remediate an event. Alerts can be constructed based on pre-defined rules that can include specific events and thresholds.

Another class of analytics that can be generated is predictive and heuristic analytics. These may incorporate machine learning algorithms to generate threat models, such as, for example, deviations from base line expectations, rare and infrequent events, and behavior analytics to derive suspicious behavior of a user, among others. Algorithms and profiles can be trained to intelligently predict whether an unusual behavior is a security risk. Third-party feeds from providers such as, but not limited to, MaxMind, FireEye, Qualys, Mandiant, AlienVault, and Norse STIX can be integrated to augment the threat intelligence. These third-party feeds can provide external information about and relating to potential security threats such as, for example, IP address reputation, malware, identification of infected node points, vulnerable web browser versions, use of proxy or Virtual Private Network (VPN) server by a user, and known attacks on clouds. In some examples, threat information is expressed in the Structured Threat Information eXpression (STIX) data format. For example, one or more services may contribute information concerning a particular IP address, such as a reputation (e.g., known for having software vulnerabilities, a host of malicious software, or source of attacks) and/or a geographic location associated with the IP address. This information can be combined with retrieved activity data involving the IP address, such as what time logins were attempted from that IP address, and information derived from activity data, such as how far apart the logins attempts were. These factors can be used to determine a “login velocity” metric. Metrics can be determined for other activities such as file accesses, sales transactions, or instances of virtual machines.

Clustering and regression algorithms can be used to categorize data and find common patterns. For example, a clustering algorithm can put data into clusters by aggregating all entries of users logging in from a mobile device. Predictive analytics can also include identifying threats based on activity such as a user not accessing a particular cloud application in several months and then showing high activity in the next month or a user downloading one file every week for the past several weeks, demonstrating a potential advanced persistent threat (APT) scenario. In some examples, data collected over time is used to build models of normal behavior (e.g., patterns of events and activity) and flag behavior that deviates from normal as abnormal behavior. After one or more flagged events or activities is characterized as a true or false positive (e.g., by user feedback), the information can be provided back to one or more machine learning algorithms to automatically modify parameters of the system. Thus, machine learning algorithms can be utilized in at least the ways discussed above to make recommendations and reduce false alarms (false positives). Activity data collected from various parameters over a period of time can be used with machine learning algorithms to generate patterns referred to as user behavior profiles. The activity data can include contextual information such as IP address and geographic location.

In various implementations, an algorithm can simulate normal user activities using previously acquired user activity data. For example, the tenant base lines 317 can include records of users' past use of a cloud service. The simulation can be used to train other machine learning algorithms to learn the normal behavior of an organization's users. In general, a particular security issue may not always repeat, and hence may not be detected by a purely supervised algorithm. However, techniques such as outlier detection can establish a baseline that is useful for detecting anomalous activities. Such anomalous activities along with contextual threat intelligence can provide more accurate prediction of threats with low prediction errors.

In various implementations, the other analytics 306 can include detection of security controls drift, which can refer to the changing of one or more security controls in a seemingly arbitrary manner, which can increase security risks. In some examples, a risk event can be generated in response to the change in a security control of a cloud service, as well as actionable intelligence associated with the risk event. Threats can include activity, events, or security controls that are abnormal or noncompliant with respect to use of an application. As an example, a tenant's password policy in a cloud application may have been changed to impose fewer requirements (e.g., type and/or number of characters). This may generate a risk event and alert to recommend that the password policy be changed back to the original password policy.

In various implementations, the analytics engine 300 can include a recommendation engine 308 that receives the output of the threat detection engine 302, the behavioral analytics engine 304, and the other analytics 306. In various examples, the recommendation engine 308 can raise alerts 322, make recommendations 324, automatically perform actions 326, and provide visualizations 328 that an organization can use to understand the organization's use of a cloud service, detected security risks, and remediation of the security risks, among other things.

In various examples, alerts 322 can be provided in visualizations 328 that can be viewed using a user interface that is accessible to an organization. Alternatively or additionally, alerts 322 can be provided through other communication channels, such as email, text messages, Short Message Service (SMS) messages, voicemail, or another communication method. In some examples, alerts 322 can be communicated as secure messages (e.g., over a secure communication channel or requiring a key or login credentials to view).

An alert can include information about a detected event such as, for example, an event identifier, a date, a time, a risk level, an event category, a user account and/or security controls associated with the event, a service associated with the event, a description of the event, a remediation type (e.g., manual or automatic), and/or an event status (e.g., open, closed) among other information. Information in an alert about each risk event can include, for example, an identifier for the affected cloud service or instance a category, a priority, a date and time, a description, a recommended remediation type, and/or a status, among other information. A risk event may also have a user-selectable action, such as editing, deleting, marking status complete, and/or performing a remediation action. Selection of a remediation action may invoke an application such as the incident remediation application and/or cloud seeder application to perform the selected remediation. An alert and/or other information concerning an identified threat can be sent to an entity external to security monitoring and control system.

In some examples, counts of events in different event categories over time can be provided as a graphical visualization, such as a chart. The chart may display, for example, a count of events by date in each of the color coded categories such as activities at an unusual time, after-hours downloads, failed logins, etc. The visual representation (e.g., a line) of an event category can be toggled on and off. In some examples, threats can also be displayed in a summary view.

In some examples, when the network administrators of an organization receive alerts 322, the network administrators may take remediation actions from within the organization's network. In these examples, the security management and control system may maintain an alert in an “open” state until the network administrators repot that the alert can be closed.

In various examples, the recommendation engine 308 can also determine recommendations 324 when the threat detection engine 302 or the other analytics 306 flag an event that requires attention. A recommendation can include, actions that can be taken to further investigate a suspicious event or to remediate (e.g., take corrective actions against) a suspicious event. In various examples, recommendations 324 can be presented to network administrators of an organization in visualizations 328, presented in a user interface. Alternatively or additionally, the recommendations 324 can be presented through other forms of communication, such as email, text messages, SMS messages, voicemails, and so on. In various examples, the network administrators of the organization can choose to activate a recommended action, which can cause the security management and control system to perform the actions.

In various examples, the recommendation engine 308 can use association rule learning can to generate recommendations. In some examples, the recommendation engine 308 can use profile linking algorithms to link activities across multiple cloud applications by finding cross-service correlation. A single user can be identified across multiple cloud service using one or more attributes or identification factors, such as a primary user identifier that is commonly used across the clouds or a single sign-on (SSO) authentication mechanism (e.g., Active Directory, Okta, etc.). Examples of correlation of activities across applications find a user logged into two cloud services simultaneously from different IP addresses, find a user who performs several failed login attempts and subsequently changes the user's password, and users who frequently have with numerous failed logins for two or more cloud services, among other examples.

In various examples, the recommendation engine 308 can also determine actions 326, including remediation actions, which the security management and control system will automatically perform. In various examples, the organization can configure to automatically perform remediation actions when the analytics engine 300 detects certain security events. Examples of remediation actions include deactivating an account, resetting a password, or setting stronger security controls, among others. In these and other examples, the remediation actions may include modifying a security setting of a service affected by the security incident, or of another service. In the latter case, the analytics engine 300 may determine that the other service may be affected, or should otherwise be secured when the security incident is detected.

In some examples, an organization may use a third-party incident management automation systems such as, for example, ServiceNow or IBM QRadar, among others. In these examples, the security management and control system may be able to interface with the third-party incident management system to remediate security incidents. For example, the incident management systems may have an API through which the security management and control system can interact with the incident management systems. In this and other examples, an action determined by the recommendation engine 308 can include sending an alert and/or other information about a security incident to an incident management system, which can track and possibly also remediate the incident. The incident management system may return a status to the security management and control system (e.g., complete or not complete). In this way, remediation may be delegated to an external system with the results reported back to the security management and control system to “close the loop.” For example, if a password reset is desired for a user account, an action can include sending an alert or message to an organization's internal Information Technology (IT) system managing the user account. An administrator or system may complete the password reset operation and report the status as completed back to the cloud security system.

FIG. 4 illustrates an example of a system 400 that includes a security monitoring and control system 402 that can monitor security for a cloud services provider 410. In the example of FIG. 4, the cloud services provider 410 provides a service platform 420 for a tenant, wherein the service platform 420 provides a computing environment in which the tenant can execute applications. For example, the cloud services provider 410 can be a PaaS provider, such that the service platform 420 can include a hardware and software infrastructure that enables a tenant to install and execute applications. As another example, the cloud services provider 410 can be a NaaS provider that hosts a network for a tenant, where the service platform 420 runs on the network. As another example, the cloud services provider 410 can be a IaaS provider, and provide network resources, hardware resource, software resources, and/or database resources for a tenant. In this example, the service platform 420 can run on the resources provided to the tenant.

In various examples, the service platform 420 can enable a tenant to execute applications other than applications provided by the cloud services provider 410. An application that is not provided by a cloud services provider can be referred to herein as a hosted application 422. Hosted applications can include applications developed by the tenant and/or applications acquired by the tenant for use by the tenant's users. The tenant can install a hosted application 422 in the service platform 420, from which the tenant's users can then use the hosted application 422.

In various examples, users can access a hosted application 422 using a client device 406. In these examples, the client device 406 can connect to the cloud services provider 410 over a network. The client device 406 can be connected to any network, including a network controlled by the tenant, a private network controlled by an employee of the tenant (e.g., a network in the employee's home), or the public Internet. To establish the connection, the user may need to be authenticated with the cloud services provider 410 and/or the service platform 420. In some examples, the user may also need to be authenticated with the hosted application 422. Using the client device 406, the user can invoke (e.g., launch, start, or execute) the hosted application 422 and access the functionality of the hosted application 422 at the client device 406. In some examples, the hosted application 422 is fully hosted in the service platform 420, meaning that the hosted application 422 executes entirely within the service platform 420. In some examples, the hosted application 422 is hosted in the service platform 420, with some functionality executing on the client device 406.

In various examples, the cloud services provider 410 can record events related to the user of the services provided by the cloud services provider 410. For example, the cloud services provider 410 can record actions that occur as a user of the client device 406 accesses the service platform 420, where these actions can include, for example, logins, logouts, credential requests, and other actions related to the service platform 420. In various examples, the cloud services provider 410 can provide these actions as activity data 412. The security monitoring and control system 402 can obtain the activity data 412, and use the activity data 412 to identify security risks related to use of the service platform 420, as discussed further herein.

The cloud services provider 410, may record little to no information related to use of the hosted application 422. For example, the cloud services provider 410 may record that the hosted application 422 was invoked, and possibly also some information about the user who invoked the hosted application 422 and/or the client device 406 from which the hosted application 422 was invoked. But because the hosted application 422 can be any application, the cloud services provider 410 may have no insight into the operation of the hosted application 422. Thus, the cloud services provider 410 may not be able to record what the hosted application 422 does as a user uses the hosted application 422.

In various implementations, the security monitoring and control system 402 can thus include an agent 430 that can capture actions performed by the hosted application 422. In various implementations, the agent 430 is a program that can execute within the service platform 420, for example in an operating system being executed by the service platform 420 or in a virtual machine executing in the service platform 420. In some examples, the hosted application 422 is a Java™ application, and the the service platform 420 is configured to execute a Java™ virtual machine (JVM) in which the hosted application 422 runs. In these examples, the agent 430 can be executing in the JVM. In some examples, the hosted application 422 is a Python application. In these examples, the agent 430 can run as part of, or in conjunction with, a Python interpreter. In some examples, the hosted application 422 is written in Go (also referred to as “golang”), C, C++, Visual Basic, Haskell, or another programming language. In these and other examples, the hosted application 422 can execute as part of a runtime environment and/or as a layer in the runtime environment.

In various implementations, the agent 430 operates as a layer between the hosted application 422 and libraries 426 used by the hosted application 422. The libraries 426 can include various software libraries that provide basic to complex functionality for the hosted application 422. For example, the libraries 426 can provide input and output operations, mathematical operations, file management operations, thread management operations, network connectivity and transmission operations, and so on. Examples of software libraries include Java™ class libraries, Python libraries, Go libraries, C libraries, C++ libraries, and others.

In various examples, when the hosted application 422 launches a class loader 424 can load the binary code for one or more libraries 426 into memory, for use by the hosted application 422. In some cases, the class loader 424 can also load libraries 426 into memory during the execution of the hosted application 422. Once loaded into memory, code in the libraries 426 can be called on and executed by the hosted application 422.

In various implementations, when the class loader 424 fetches a library for loading into memory, the agent 430 can modify the byte code for the library, and insert instrumentation code into the byte code. The instrumentation code can take the form of, for example, print statements that output to a file. In this example, the print statements can record information such as function or method that was called, the parameters with which the function was called, and/or a class to which the function belongs, and other application data. As another example, the instrumentation code can take the form of binary output to a file or directly to the agent 430, where the binary output encodes information such as a function name, function parameters, a class name, and so on. In various examples, the 430 can use an Application Programming Interface (API) provided by the libraries 426 to insert instrumentation code. For example, the Java™ provides a library called java.lang.instrument, which enables agents to instrument programs running on a Java Virtual Machine. In various examples, tools used to debug or modify programs, and/or to perform code coverage on programs can be used to add instrumentation code to byte code of a library. Examples of such tools include DTrace, strace, perf, ltrace, ftrace, ktrace, SystemTap, and others.

The modified library can be loaded into memory and be executed by the hosted application 422. When the hosted application 422 executes a modified library, the instrumentation code is executed, and output application data 432. The application data 432 can include a function or method that was called, the parameters with which the function was called, a class to which the function belongs, a timestamp for the time and date at which the function was called, a network address for the client device 406 from which the hosted application 422 is being used, and/or a user identifier for the user that is using the hosted application 422, among other things. In various implementations, the agent 430 can send the application data 432 to the security monitoring and control system 402 for analysis.

In various examples, the libraries 426 selected for instrumentation include libraries that enable the hosted application 422 to execute security sensitive operations. For example, libraries that enable access to authentication information, libraries that enable access to databases, libraries that enable network accesses, and libraries that enable generation and deletion of users, among others, can be instrumented. In various examples, particular classes and/or functions in a library have instrumentation code added. In some examples, all classes and functions in a particular library are instrumented.

By using the agent 430, the security monitoring and control system 402 can obtain application data 432 without the hosted application 422 needing to be modified. Additionally, the one agent 430 can obtain application data for any hosted application that executes on the service platform 420. Tenants can thus install hosted applications in the service platform 420 and be able to monitor security risks for these applications without needing to make any extra effort.

In various examples, the agent 430 can also be used on networks controlled by a tenant. For example, the agent 430 can be activated on computing systems in the enterprise environment of a tenant. In this example, the agent 430 can obtain application data for applications running within the enterprise, and provide this data to the security monitoring and control system 402 for analysis.

In various implementations, the security monitoring and control system 402 can conduct analysis on the application data 432 to identify security risks. For example, the security monitoring and control system 402 can maintain a model for the hosted application 422, which can describe usage patterns for the hosted application 422 by a tenant's users. These usage patterns can capture routine or typical usage by the users. In some examples, the models can be machine learning models, such as a model that can be used by a neural network to identify usage patterns. In these and other examples, the security monitoring and control system 402 can compare application data 432 to the model, and identify anomalous activity: that is, actions performed by the hosted application 422 that fall outside of expected behavior. For example, the hosted application 422 may have attempted to modify a database table entry that the hosted application 422 does not normally modify. As another example, the hosted application 422 may have attempted to obtain information from a database for all users at once, instead of only one user at a time. While activities such as modifying database table entries or obtaining user information from a database may be actions that the hosted application 422, is allowed to do, in some cases, these actions may be outside of what is normal and/or expected for the hosted application 422. In these cases, the security monitoring and control system 402 can identify these actions as a possible security risk.

FIG. 5 illustrates an example of a hosted application 500. As illustrated by this example, the operations of the hosted application 500 may be specific to a tenant, and may be unrelated to the services provided by a cloud services provider. For example, the cloud services provider may be providing the platform for running the hosted application 500, while the hosted application 500 is provided by the tenant or by a third party vendor. In this example, the cloud services provider may allow the tenant to run any application, with minimal restrictions.

In this example, the hosted application 500 is a banking application, and has operations such as depositing to an account, withdrawing from an account, viewing account transactions, adding clients to an account, and changing a password for an account. Any application related to banking or financial transactions may require increased security to avoid theft or data compromise, and/or to ensure compliance with financial regulations. The operations that can be activated by the buttons in the example banking application can execute legitimate activity, such as database requests to fetch and/or modify data, and credential requests to authenticate a user. These operations, however, can also be used incorrectly or maliciously, and thus may need to be monitored for security risks.

Other operations available from the hosted application 500 can cause the hosted application 500 to access data from remote sites. For example, requesting an interest rate can cause the hosted application 500 to access a remote site that provides interest rates. As another example, the requesting exchange rates (e.g., FOREX rates) can cause the hosted application 500 to access a remote site that maintains currency exchange rates. While these operations are also legitimate actions that can be taken by the hosted application, these actions can also be subverted to direct the hosted application 500 to malicious remote sites.

As discussed above, in various implementations, the platform on which the hosted application 500 executes can include an agent capable of collecting data about the hosted application 500. The data can include information such as a name or other identifier for the hosted application 500, an action performed by the hosted application 500, data associated with the action, a time at which the action was performed, an network address for a user that requested that the action be performed, and/or a resources that was affected by the action, among other things. In various implementations, the agent can send the application data to a security monitoring and control system for analysis. Using various techniques, the security monitoring and control system can identify actions in the application data that may be associated with a security risk.

FIG. 6 illustrates an example of a graphical interface 600 for displaying risk events determined from application data. The illustrated risk events may have been derived from thousands of actions recorded in activity data from a single application. Using big data techniques, such as Apache Hadoop for managing the data and Apache Spark for searching the data, a security monitoring and control system can identify events, filter out events that are not security risks, and tag events that might be security risks. To identify events that may be security risks, the security monitoring and control system can use varies systems, such as policy checkers and anomaly detection systems.

The example graphical interface 600 illustrated in FIG. 6 can enable a tenant or a cloud services administrator to view risk events identified by a security monitoring and control system. In the graphical interface 600, risk events are displayed with one on each line of the display. The information included for each risk event includes a risk level, a brief summary of the event, a category for the event, an application with which the event is associated, an instance of the platform in which the application was running, a timestamp for when the event was detected, a status for the event, an incident number or option to create an incident number, and a list of actions that can be taken with respect to the incident.

In this example, the categories indicate a method by which the risk event was detected. These methods can include, for example, policies and anomalous activity detection, among others. Polices can define a set of actions that are considered high risk. For example, a policy can be defined for an action that makes use of a known database vulnerability. In this example, when the action occurs, the action will match the policy and be flagged as a risk event. Policies can be pre-determined from lists of known network and database security vulnerabilities, such as those listed by the Open Web Application Security Project (OWASP). Policies can additionally or alternatively be defined by a tenant.

Anomaly detection can use baselines and/or statistics to identify actions that fall outside of expected usage of an application. Previous application data can be used to determine usage patterns, which can be used to establish a baseline. By comparing application data against the baseline, usage that is beyond a threshold of the baseline can be identified as anomalous. Statistical analysis can additionally or alternatively be used. Statistical analysis can look at historical application data and identify incidents that fall outside of a statistical norm.

Using the graphical interface 600, a security administrator can perform various actions with respect to a risk event. For example, the incident column enables an administrator to mark a risk event for follow-up, and assign an incident number to the event. As another example, a drop-down list of actions can enable the administrator to perform actions such as changing the risk level of a risk event, marking risk events as false positives, sending a notification related to a risk event, and/or deleting a risk event.

The graphical interfaces can also enable a security administrator to obtain more information about a risk event. FIGS. 7A-7B illustrate examples of graphical interfaces that display more information about a risk event. In the examples illustrated in FIGS. 7A-7B, the risk event involved a SQL database query to a database that was identified by the tenant as sensitive. The security monitoring and control system identified the event by finding that actions performed by the application matched a policy. In this example, the policy may have been defined by the tenant, who may have determined that SQL actions performed on the database need to be monitored.

FIG. 7A illustrates a graphical interface 700 that provides more information for the risk event. As illustrated by this example, the graphical interface 700 includes the one-line description of the risk event, as well as information describing an action performed, an actor who performed the action, a time stamp for when the action occurred, the name of the policy that was matched, a resource affected by the action, a type of the resource, a status for the risk event, and an option to view the application data log. In this example, the action performed was to insert data into the database. The actor is identified by a user name; in other examples, the actor may additionally or alternatively be identified by a role, title, personal name, entity name, or another type of identifier. The title of the policy in this example indicates that the policy is intended to identify any select, insert, update, or delete operation on a database, which is identified by the resource name.

FIG. 7B illustrates a graphical interface 710 that provides information from the application data log for the risk event illustrated in FIG. 7A. In FIG. 7B, the graphical interface 710 displays information for a single action that matched the policy. In other examples, a similar graphical interface can display a set of actions that matched a policy, where the actions in the set may have been performed by one application or multiple applications, executing in the same platform or in different platforms. In the illustrated example, the graphical interface 710 displays an IP address from which the action was performed, a category for the action, the name of a class from which the action was executed, a method or function that was called to perform the action, parameters with which the function was called, a time stamp at which the function was called, and a username for the user that performed the action.

In this example, the class name identifies an objected oriented class, such as may be defined by the Java™ or C++ programming languages, or another object oriented programming language. The method name identifies a method or function belonging to the class, which was invoked as a result of the action being performed. In the illustrated example, the function was one for inserting data into the database. In most cases, the parameters are determined by the application using input from a user. In some cases, the specific function is called as a direct result of inputs by the user. In some cases, the application determines the function to call, as an indirect result of inputs by the user.

The IP address and user name illustrated in this example may have be derived from the application. For example, the application may have required the user to log in, and/or the user name may have been provided to the application when the application was launched. Additionally, the IP address for the client device from which the application was invoked may have been provided to the application. In various examples, the monitoring agent may be able to request this information from the application as the application is executing.

In some examples, the action illustrated in the graphical interface 710 may have matched a policy because one or more of the class name, method or function name, and/or parameters used when the function was called. In some examples, the policy may require a full or partial match of the parameters. The parameters can be matched, for example, using a regular expression matching technique. In some examples, the IP address, a sub-section of the IP address, and/or the user name may also or alternatively have matched the policy.

FIGS. 8A-8B illustrate additional examples of graphical interfaces that display more information about a risk event. In the examples illustrated in FIG. 8A-8B, the risk event was a possible SQL injection perpetrated by a Java application. The risk event was identified by a policy for monitoring vulnerabilities in SQL queries. In this example, the policy may be one of a suite of polices provided by a security monitoring and control system for detecting attempts to exploit known vulnerabilities.

FIG. 8A illustrates a graphical interface 800 that displays the one-line description for the risk event and some additional information about the risk event. The additional information includes an action performed, an actor who performed the action, a time stamp for when the action occurred, the name of the policy that matched the action, the resource affected by the action, the type of the affected resource, a status for the risk event, and an option to view the application log data. In this example, the action was a selection action, and the affected resource was administrative login for session.

FIG. 8B illustrates a graphical interface 810 that provides the application data for the risk event illustrated in FIG. 8A. In FIG. 8B, the graphical interface 810 displays an IP address for a client device from which an action was performed, a category for the action, the name of the class from which the action was executed, the method or function executed as a result of the action, the parameters with which the function was called, a time at which the function was called, and a user name for the user who caused the action.

In this example, the application data log provides more information about the resource, and what aspects of the database access that were problematic. For example, the parameters indicate an attempt to obtain information for a particular username, but the string “1=1” was provided as an alternative to the user name. The string “1=1” in this usage is a known SQL vulnerability that enables the calling function to substitute all user names in place of the provided user name, and obtain information for all the users. In this example, a policy has been configured to recognize the character string in the parameters for a SQL query function. Use of the string “1=1” may have been a mistake on the part of the application developer, in which case the application has an error that needs to be corrected. Use of the string may alternatively or additionally be a malicious attempt to extract data from a database, in which case the function call should be disallowed or blocked, the action that result in the function call may need to be blocked, and/or the application may need to be quarantined until a further investigation is conducted. By having information at the level of the execution of the application, the security monitoring and control system is able to identify the problem, and indicate the problem to system administrators.

FIGS. 9A-9B illustrate additional examples of graphical interfaces that display more information about a risk event. In these examples, the risk event was an access to a key store, a repository of security keys. The risk event was identified by a policy monitoring accesses to the key store by Java applications. The policy may have been defined by a tenant that wants to be notified of any access to the key store, including legitimate accesses.

FIG. 9A illustrates a graphical interface 900 that displays the one-line description for the risk event, as well as the action performed, the actor who performed the action, the time at which the action occurred, the name of the policy that was triggered, the resource that was affected, the type of the resource, a current status for the risk event, and an option to view the application data log. In this example, the action was to get a key from a key store resource. The policy name indicates that the policy is configured to monitor all accesses by a Java application to this key store, and possibly to other key stores.

FIG. 9B illustrates a graphical interface 910 that displays information from the application data log, including an IP address for the client device from which the action was invoked, a category for the action, a class name from which the action as executed, the method or function that was called, the parameters with which the function was called, a time stamp for when the function was called, and a user name for the user who triggered the action. In this example, the action was getting a key from the key store. Getting keys can be a common and legitimate operation for the application. The tenant may have determined, however, to be notified any time a key is obtained. This may be for security purposes, for auditing purposes, to maintain records of when keys were used, or for other reasons.

FIGS. 10A-10B illustrate additional examples of graphical interfaces for displaying more information about a risk event. In these examples, the risk event was an outbound HTTP request to obtain (“GET”) information from a website. The risk event was identified by a policy monitoring outbound HTTP requests to restricted or blacklisted website addresses (“URLs”). Restricted websites may be ones that the security monitoring and control system and/or the tenant have determined to limit access to, for example because of company policies or because the sites may be unsafe, from a security standpoint. Blacklisted websites are ones known to be malicious. The policy can include lists of restricted and blacklisted websites. The policy may be one maintained by the security monitoring and control system and/or the tenant.

FIG. 10A illustrates a graphical interface 1000 that displays the one-line description for the risk event, as well as the action performed, the actor who performed the action, the time at which the action occurred, the name of the policy that was triggered, the resource that was affected, the type of the resource, a current status for the risk event, and an option to view the application data log. In this example, the action performed was the HTTP “GET” command, which uses the HTTP protocol to request data from a specified resource. The resources is identified by the resource name.

FIG. 10B illustrates a graphical interface 1010 that displays information from the application data log, including an IP address for the client device from which the action was invoked, a category for the action, a class name from which the action as executed, the method or function that was called, the parameters with which the function was called, a time stamp for when the function was called, and a user name for the user who triggered the action. Because the HTTP protocol is used to exchange data over a network, the action is categorized as a network access. The parameters indicate the web location that was accessed, with the URL possibly including parameters for the GET command. In this example, the URL may have been on a blacklist, and thus this action was flagged by the security monitoring and control system as high risk.

FIGS. 11A-11B illustrate additional examples of graphical interfaces for displaying more information about a risk event. In these examples, the risk event was initiation of a process on the operating system of the platform. Processes (e.g., code being actively executed) being launched from an application can be associated with a network infiltration attempt. For example, a malicious PDF file attempting to take advantage of a vulnerability in PDF reading applications may have embedded code, such that, when the PDF file is opened, the code in the file is injected into the PDF reading application, and may launch additional processes. For this and other examples, a policy can be been defined to identify instances of processes being started on an operating system in the platform.

FIG. 11A illustrates a graphical interface 1100 that displays the one-line description for the risk event, as well as the action performed, the actor who performed the action, the time at which the action occurred, the name of the policy that was triggered, the resource that was affected, the type of the resource, a current status for the risk event, and an option to view the application data log. In this example, the action was to initiate something (“init”), where the thing initiated is indicated by the resource name as a process. That is, the resource name (and the policy name) indicate that a process was started by the application.

FIG. 11B illustrates a graphical interface 1110 that displays information from the application data log, including an IP address for the client device from which the action was invoked, a category for the action, a class name from which the action as executed, the method or function that was called, the parameters with which the function was called, a time stamp for when the function was called, and a user name for the user who triggered the action. In this example, because a process requires allocation of memory in which to run, the action is categorized as a memory access. The parameters indicate that that the application used a command line to launch an executable program. An application starting another process is not an unusual occurrence: an application may fork child processes at any time in order to perform operations while the parent process continues with other operations. An application launching another application on a command line—that is, invoking an entirely new process—may be poor application design at best, and malicious activity, at worst. Thus, a policy may be configured to identify occurrences of an application invoking a process from a command line.

FIGS. 12A-12D illustrate additional examples of graphical interfaces for displaying more information about a risk event. In these examples, a risk event identified as anomalous activity is illustrated. FIG. 12A illustrates a graphical interface 1200 that displays the one-line description for the risk event, as well as additional information. In this example, the additional information includes a name for the detected anomaly, a short diagnosis for the anomaly, a time at which the anomaly was detected, a status for the risk event, risk factors, and an option to view all risk factors. The illustrated risk factors can include largest deviations from the normal behavior. In this example, the risk factors include a count of file operations performed versus an average number of file operations performed, and a count of HTTP connections invoked versus an average number of HTTP connections usually invoked. In this example, the counts and averages are over a day. In other examples, the counts and averages can be over a longer or shorter time period.

FIG. 12B illustrates a graphical interface 1210 that displays a graph that can be viewed when viewing all risk factors for the risk event. In this example, the graph illustrates a user risk score trend, that is, a daily computation of a risk score for the user identified in the graphical interface 1200 of FIG. 12A. As illustrated in FIG. 12B, the user's risk score is at zero until several days on which counts of the user's actions far exceed the average. On these days, based on the individual counts and/or an aggregate of all counts of the user's actions, the user's risk score spikes to nearly 100%.

FIG. 12C illustrates a graphical interface 1220 that displays a list of all of the risk factors that triggered detection of anomalous behavior. In the graphical interface 1220, each risk factor is displayed on a line, which provides a file access operation that was conducted, a time at which the file access operation occurred, an IP address from which the operation was initiated, a location for the user who initiated the operation, a device type for the client device from which the operation was invoked, and an option to view the application data log. In some examples, the graphical interface 1220 displays all occurrences of a user action that were outside of the expected behavior. In some examples, the graphical interface 1220 displays a summary of a user's actions per hour, day, or week, and provides an option to view each individual action.

FIG. 12D illustrates a graphical interface 1230 that displays information from the application data log for a risk factor illustrated in FIG. 12C. In FIG. 12D, the graphical interface 1230 provides the IP address from which the action was initiated, a category for the action, the name of a class through which the action was invoked, a method or function name that was called, parameters with which the function was called, a time stamp for the time at which the function was called, and a user name for the user that triggered the action.

In various other examples, a security monitoring and control system equipped with application-level data can detect various types of security threats. For example, the application data can include function calls that result in network traffic being sent by a hosted application to locations within a tenant's network or to locations on the Internet. In some cases, the network traffic can result from privilege escalation, where malicious code has gained increased access rights and is able to act, for example, as an administrative user. In some examples, privilege escalation occurs when an ordinary user gains administrative privileges through, for example, a exploitation of a security vulnerability. In these examples, the privilege escalation may be detected by identifying network traffic associated with administrative actions that is being sent from a non-administrative user account. For example the network traffic may be using certain parameters and/or user contexts to access endpoints, where the parameters and user contexts are associated with an ordinary user account. The accesses, however, may be of the type that should only be made by an administrative account, thus the use of parameters and/or user contexts associated with an ordinary user account can indicate that an incident of privilege escalation has occurred.

FIG. 13 illustrates an example of a process 1300 for monitoring security for applications executing in a cloud environment. The example process 1300 can be implemented by a computing system of a security monitoring and control system, such as is described herein.

At step 1302, the process 1300 includes obtaining application data from a service provider system, wherein the application data includes a record of actions performed by an application during use of the application by one or more users associated with a tenant, wherein the application executes in a service platform provided for the tenant by the service provider system, wherein the service provider system provides the tenant with a tenant account, and wherein the tenant account enables the one or more users to access the service platform. Accessing the service platform can include accessing the application. In some examples, the users associated with the tenant can access the application from a client device. In these examples, the application may execute entirely within the computing environment provided by the platform, or execute partially within the computing environment of the platform and partially on the client device.

Actions performed by the application can include function calls that cause code to be executed. In some examples, the code being executed can cause other actions to occur, such as input or output operations to a file system, reading or writing data from or to a storage system, transmission and/or receipt of network data, and/or launching of other programs.

In some examples, the service provider system maintains an activity log for the tenant. In these examples, the activity log can include actions performed by the one or more users in accessing the service platform. The activity log, however, may not include actions performed by the application. For example, the service provider system may have no knowledge of the application, or may only record instances of the application being launched. In these and other examples, the service provider system may not record, in the activity log, actions performed by the application.

At step 1304, the process includes analyzing the application data to identify an event associated with a security risk, wherein the event is identified from one or more actions performed by the application.

In some examples, the event is identified using a policy from a plurality of policies, where the plurality of policies define application actions associated with security risks. For example, a policy can describe an action, such as a function call, that can be performed by the application and parameters with which the action is performed. In this example, when an action from the application data matches the combination of the function call and the parameters, then the action can be identified as an event associated with a security risk. In some examples, regular expression matching can be used, which enables partial matches and imprecise matches, as well as exact matches.

In some examples, one or more actions performed by the application affected a computing resource. In these examples, and the policy can indicate that the effect to the computing resource is a security risk. Examples of resources include databases, network locations credential storage, and other repositories for data.

In some examples, the process 1300 includes filtering the application data using a plurality of polices. In these examples, one or more policies from the plurality of policies can describe application actions identified as security risks. Filtering the application data can remove actions that can be identified by the polices as not associated with security risks.

In some examples, the event is identified using a model for the application, wherein the model describes usage patterns for the application. In these examples, the process 1300 can include identifying an anomaly in the use of the application, wherein the anomaly is identified in the application data. The usage patterns can describe the common or typical use of the application by the tenant's users, or by any users, including another tenant's users. The usage patterns can be determined from historical application data, which can include usage of the application by the tenant's users or any users over a certain period of time. As such, in some examples, the usage patterns for the application were previously identified as not associated with security risks.

In some examples, the usage patterns provide a baseline of usage for the application, and identifying the anomaly includes comparing data in the application data against the baseline For example, historical application data can be used to determine the baseline, that is, an expected usage pattern. The baseline can indicate, for example, that the application is used a certain number of times a day, that the application performs particular operations a certain number of times per hour, that a certain number of users use the application daily, that individual users perform certain operations with the applications each day, and so on. In these and other examples, examples, a threshold can be defined, in terms of a percentage, a count, or another numerical qualifier, such that, when usage of the application exceeds the baseline usage by the threshold amount, the usage is identified as anomalous.

In some examples, the process 1300 can further include using the application data to generate the model. In these examples, the process 1300 can include using the application data includes determining the usage patterns from the application data. In some examples, the process 1300 includes adding the application data to an existing model.

At step 1306, the process 1300 includes determining an action to perform in response to identifying the anomaly. The action can include modifying the operation of the application. For example, the action can include causing actions associated with the event to be blocked, such that the application is unable to perform these actions. As another example, the action can include causing the application to be unable to access the resource affected by the event. As another example, the action can include causing the application to be disabled, such that the tenant's users are unable to use the application. The action can alternatively or additionally include sending notifications and alerts. For example, an alert can be sent to the tenant, to system administrators for the tenant, to a user whose use of the application caused the event to be identified, to the cloud services provider, to the security monitoring and control system, or to another entity.

At step 1308, the process 1300 includes performing the action.

In some examples, an agent executing on the service platform collects the application data and provides the application data to the computer system of the security monitoring and control system. In some examples, the agent executing on the service platform modifies code used by the application to add instrumentation to the code. In these examples, when the code is executed by the application, the code produces the application data. In some examples, the agent obtains the application data form the service platform. In some examples, the code outputs the application data to the agent. In some examples, the agent is configured to identify code that, when executing, performs actions identified as security risks. For example, certain class libraries, classes, and/or class methods can be identified as enabling actions that can be security risks, and the agent can be configured to instrument these libraries, classes, and/or methods.

FIG. 14 depicts a simplified diagram of a distributed system 1400 in which the various examples discussed above can be implemented. In the illustrated example, the distributed system 1400 includes one or more client computing devices 1402, 1404, 1406, 1408, coupled to a server 1412 via one or more communication networks 1410. The client computing devices 1402, 1404, 1406, 1408 may be configured to run one or more applications.

In various embodiments, server 512 may be adapted to run one or more services or software applications that enable capture of actions performed by applications hosted in a cloud service platform. Users may use the client computing devices 1402, 1404, 1406, 1408 to access and use a hosted application. In various examples, the software applications can analyze the activity generated through use of the hosted application to identify any security risks caused by use of the hosted application.

In various examples, the server 1412 may also provide other services or software application, and can include non-virtual and virtual environments. In some examples, these services may be offered as web-based or cloud services or under a Software as a Service (SaaS) model to the users of the client computing devices 1402, 1404, 1406, 1408. Users operating the client computing devices 1402, 1404, 1406, 1408 may in turn use one or more client applications to interact with the server 1412 to use the services provided by these components.

In the configuration depicted in FIG. 14, the server 1412 may include one or more components 1418, 1420, 1422 that implement the functions performed by the server 1412. These components may include software components that may be executed by one or more processors, hardware components, or combinations thereof. It should be appreciated that various different system configurations are possible, which may be different from the example distributed system 1400.

The client computing devices 1402, 1404, 1406, 1408 may include various types of computing systems, such as portable handheld devices such as smartphones and tablets; general purpose computers such as personal computers and laptops; workstation computers; wearable devices such as a head-mounted display; gaming systems such as handheld gaming devices, gaming consoles, and Internet-enabled gaming devices; thin clients; various messaging devices; sensors and other sensing devices; and the like. These computing devices may run various types and versions of software applications and operating systems (e.g., Microsoft Windows®, Apple Macintosh®, UNIX® or UNIX-like operating systems, Linux or Linux-like operating systems such as Google Chrome™ OS) including various mobile operating systems (e.g., Microsoft Windows Mobile®, iOS®, Windows Phone®, Android™, BlackBerry®, Palm OS®). The client devices may be capable of executing various different applications such as various Internet-related apps, communication applications (e.g., e-mail applications, short message service (SMS) applications) and may use various communication protocols. A client device may provide an interface that enables a user of the client device to interact with the client device. The client device may also output information to the user via this interface. Although FIG. 14 depicts only four client computing devices, any number of client computing devices may be supported.

Network(s) 1410 in the distributed system 1400 may be any type of network familiar to those skilled in the art that can support data communications using any of a variety of available protocols, including without limitation TCP/IP (transmission control protocol/Internet protocol), SNA (systems network architecture), IPX (Internet packet exchange), AppleTalk, and the like. Merely by way of example, the network(s) 1410 can be a local area network (LAN), networks based on Ethernet, Token-Ring, a wide-area network, the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infra-red network, a wireless network (e.g., a network operating under any of the Institute of Electrical and Electronics (IEEE) 802.11 suite of protocols, Bluetooth®, and/or any other wireless protocol), and/or any combination of these and/or other networks.

The server 1412 may be composed of one or more general purpose computers, specialized server computers (including, by way of example, PC (personal computer) servers, UNIX® servers, mid-range servers, mainframe computers, rack-mounted servers, etc.), server farms, server clusters, or any other appropriate arrangement and/or combination. The server 1412 can include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization, such as one or more flexible pools of logical storage devices that can be virtualized to maintain virtual storage devices for the server. In various examples, the server 1412 may be adapted to run one or more services or software applications that perform the operations as described above.

The server 1412 may run an operating system including any of those discussed above, as well as any commercially available server operating system. The server 1412 may also run any of a variety of additional server applications and/or mid-tier applications, including HTTP (hypertext transport protocol) servers, FTP (file transfer protocol) servers, CGI (common gateway interface) servers, JAVA® servers, database servers, and the like. Examples of database servers include, without limitation, those commercially available from Oracle, Microsoft, Sybase, IBM (International Business Machines), and the like.

In some implementations, the server 1412 may include one or more applications to analyze and consolidate data feeds and/or event updates received from users of the client computing devices 1402, 1404, 1406, 1408. As an example, data feeds and/or event updates may include, but are not limited to, Twitter® feeds, Facebook® updates or real-time updates received from one or more third-party information sources and continuous data streams, which may include real-time events related to sensor data applications, financial tickers, network performance measuring tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like. The server 1412 may also include one or more applications to display the data feeds and/or real-time events via one or more display devices of the client computing devices 1402, 1404, 1406, 1408.

The distributed system 1400 may also include one or more data repositories 1414, 1416. These data repositories may provide a mechanism for storing information various types of information, such as the information described by the various examples discussed above. The data repositories 1414, 1416 may reside in a variety of locations. For example, a data repository used by the server 1412 may be local to server 1412 or may be remote from server 1412 and in communication with server 1412 via a network-based or dedicated connection. The data repositories 1414, 1416 may be of different types. In some examples, a data repository used by the server 1412 may be a database, for example, a relational database, such as databases provided by Oracle Corporation® and other vendors. One or more of these databases may be adapted to enable storage, update, and retrieval of data to and from the database in response to SQL-formatted commands.

In some examples, one or more of the data repositories 1414, 1416 may also be used by applications to store application data. The data repositories used by applications may be of different types such as, for example, a key-value store repository, an object store repository, or a general storage repository supported by a file system.

In some examples, a cloud environment may provide one or more services such as those discussed above. FIG. 15 is a simplified block diagram of one or more components of a system environment 1500 in which these and other services can be offered as cloud services. In the example illustrated in in FIG. 15, a cloud infrastructure system 1502 may provide one or more cloud services that may be requested by users using one or more client computing devices 1504, 1506, and 1508. The cloud infrastructure system 1502 may include one or more computers and/or servers that may include those described above for server 1412 of FIG. 14. The computers in cloud infrastructure system 1502 of FIG. 15 may be organized as general purpose computers, specialized server computers, server farms, server clusters, or any other appropriate arrangement and/or combination.

Network(s) 1510 may facilitate communication and exchange of data between the clients 1504, 1506, 1508 and the cloud infrastructure system 1502. The network(s) 1510 may include one or more networks. The networks may be of the same or different types. The network(s) 1510 may support one or more communication protocols, including wired and/or wireless protocols, for facilitating the communications.

The example depicted in FIG. 15 is only one example of a cloud infrastructure system and is not intended to be limiting. It should be appreciated that, in other examples, the cloud infrastructure system 1502 may have more or fewer components than those depicted in FIG. 15, may combine two or more components, or may have a different configuration or arrangement of components. For example, although FIG. 15 depicts three client computing devices, any number of client computing devices may be supported in other examples.

The term cloud service is generally used to refer to a service that is made available to users on demand and via a communication network such as the Internet by systems (e.g., the cloud infrastructure system 1502) of a service provider. Typically, in a public cloud environment, servers and systems that make up the cloud service provider's system are different from the customer's own on-premises servers and systems. The cloud service provider's systems are managed by the cloud service provider. Customers can thus avail themselves of cloud services provided by a cloud service provider without having to purchase separate licenses, support, or hardware and software resources for the services. For example, a cloud service provider's system may host an application, and a user may, via the Internet, on demand and self-service, order and use the application without the user having to buy infrastructure resources for executing the application. Cloud services are designed to provide easy, scalable access to applications, resources and services. Several providers offer cloud services. For example, several cloud services are offered by Oracle Corporation® of Redwood Shores, Calif., such as middleware services, database services, Java cloud services, and others.

In various examples, the cloud infrastructure system 1502 may provide one or more cloud services using different models, such as under a Software as a Service (SaaS) model, a Platform as a Service (PaaS) model, an Infrastructure as a Service (IaaS) model, and others, including hybrid service models. The cloud infrastructure system 1502 may include a suite of applications, middleware, databases, and other resources that enable provision of the various cloud services.

A SaaS model enables an application or software to be delivered to a customer over a communication network like the Internet, as a service, without the customer having to buy the hardware or software for the underlying application. For example, a SaaS model may be used to provide customers access to on-demand applications that are hosted by the cloud infrastructure system 1502. Examples of SaaS services provided by Oracle Corporation® include, without limitation, various services for human resources/capital management, customer relationship management (CRM), enterprise resource planning (ERP), supply chain management (SCM), enterprise performance management (EPM), analytics services, social applications, and others.

An IaaS model is generally used to provide infrastructure resources (e.g., servers, storage, hardware and networking resources) to a customer as a cloud service to provide elastic compute and storage capabilities. Various IaaS services are provided by Oracle Corporation®.

A PaaS model is generally used to provide, as a service, platform and environment resources that enable customers to develop, run, and manage applications and services without the customer having to procure, build, or maintain such resources. Examples of PaaS services provided by Oracle Corporation® include, without limitation, Oracle Java Cloud Service (JCS), Oracle Database Cloud Service (DBCS), data management cloud service, various application development solutions services, and others.

In some examples, resources in the cloud infrastructure system 1502 may be shared by multiple users and dynamically re-allocated per demand. Additionally, resources may be allocated to users in different time zones. For example, the cloud infrastructure system 1502 may enable a first set of users in a first time zone to utilize resources of the cloud infrastructure system for a specified number of hours and then enable the re-allocation of the same resources to another set of users located in a different time zone, thereby maximizing the utilization of resources.

The cloud infrastructure system 1502 may provide the cloud services via different deployment models. In a public cloud model, the cloud infrastructure system 1502 may be owned by a third party cloud services provider and the cloud services are offered to any general public customer, where the customer can be an individual or an enterprise. In certain other embodiments, under a private cloud model, the cloud infrastructure system 1502 may be operated within an organization (e.g., within an enterprise organization) and services provided to customers that are within the organization. For example, the customers may be various departments of an enterprise such as the Human Resources department, the Payroll department, etc. or even individuals within the enterprise. In certain other embodiments, under a community cloud model, the cloud infrastructure system 1502 and the services provided may be shared by several organizations in a related community. Various other models such as hybrids of the above mentioned models may also be used.

The client computing devices 1504, 1506, 1508 may be devices similar to those described above for the client computing devices 1402, 1404, 1406, 1408 of FIG. 14. The client computing devices 1504, 1506, 1508 of FIG. 15 may be configured to operate a client application such as a web browser, a proprietary client application (e.g., Oracle Forms), or some other application, which may be used by a user of the client computing device to interact with the cloud infrastructure system 1502 to use services provided by the cloud infrastructure system 1502.

In various examples, the cloud infrastructure system 1502 may also provide “big data” and related computation and analysis services. The term “big data” is generally used to refer to extremely large data sets that can be stored and manipulated by analysts and researchers to visualize large amounts of data, detect trends, and/or otherwise interact with the data. The analysis the cloud infrastructure system 1502 can perform may involve using, analyzing, and manipulating large data sets to detect and visualize various trends, behaviors, relationships, etc. within the data. This analysis may be performed by one or more processors, possibly processing the data in parallel, performing simulations using the data, and the like. The data used for this analysis may include structured data (e.g., data stored in a database or structured according to a structured model) and/or unstructured data (e.g., data blobs (binary large objects)).

As depicted in the embodiment in FIG. 15, cloud infrastructure system 1502 may include infrastructure resources 1530 that are used for facilitating the provision of various cloud services offered by cloud infrastructure system 1502. Infrastructure resources 1530 may include, for example, processing resources, storage or memory resources, networking resources, and the like.

In some examples, to facilitate efficient provisioning of these resources for supporting the various cloud services provided by cloud infrastructure system 1502 for different customers, the resources may be bundled into sets of resources or resource modules (also referred to as “pods”). Each resource module or pod may comprise a pre-integrated and optimized combination of resources of one or more types. In some examples, different pods may be pre-provisioned for different types of cloud services. For example, a first set of pods may be provisioned for a database service, a second set of pods, which may include a different combination of resources than a pod in the first set of pods, may be provisioned for Java service, and the like. For some services, the resources allocated for provisioning the services may be shared between the services.

The cloud infrastructure system 1502 may itself internally use the services 632 that are shared by different components of cloud infrastructure system 602 and which facilitate the provisioning of services by cloud infrastructure system 602. These internal shared services may include, without limitation, a security and identity service, an integration service, an enterprise repository service, an enterprise manager service, a virus scanning and white list service, a high availability, backup and recovery service, service for enabling cloud support, an email service, a notification service, a file transfer service, and the like.

In various examples, the cloud infrastructure system 1502 may include multiple subsystems. These subsystems may be implemented in software, or hardware, or combinations thereof. As depicted in FIG. 15, the subsystems may include a user interface subsystem 1512 that enables users or customers of cloud infrastructure system 1502 to interact with cloud infrastructure system 1502. The user interface subsystem 1512 may include various different interfaces such as a web interface 1514, an online store interface 1516 where cloud services provided by cloud infrastructure system 1502 are advertised and are purchasable by a consumer, and other interfaces 1518. For example, a customer may, using a client device, request (service request 1534) one or more services provided by cloud infrastructure system 1502 using one or more of interfaces 1514, 1516, 1518. For example, a customer may access the online store, browse cloud services offered by cloud infrastructure system 1502, and place a subscription order for one or more services offered by cloud infrastructure system 1502 that the customer wishes to subscribe to. The service request may include information identifying the customer and one or more services that the customer desires to subscribe to. For example, a customer may place a subscription order for services such as those discussed above. As part of the order, the customer may provide information identifying the amount of resources the customer needs and/or for what time frame, among other things.

In some examples, such as the example depicted in FIG. 15, the cloud infrastructure system 1502 may include an order management subsystem (OMS) 1520 that is configured to process the new order. As part of this processing, OMS 1520 may be configured to: generate an account for the customer, if not done already; receive billing and/or accounting information from the customer that is to be used for billing the customer for providing the requested service to the customer; verify the customer information; upon verification, book the order for the customer; and orchestrate various workflows to prepare the order for provisioning, among other operations.

Once properly validated, OMS 1520 may then invoke the order provisioning subsystem (OPS) 1524 that is configured to provision resources for the order including processing, memory, and networking resources. The provisioning may include allocating resources for the order and configuring the resources to facilitate the service requested by the customer order. The manner in which resources are provisioned for an order and the type of the provisioned resources may depend upon the type of cloud service that has been ordered by the customer. For example, according to one workflow, OPS 1524 may be configured to determine the particular cloud service being requested and identify a number of pods that may have been pre-configured for that particular cloud service. The number of pods that are allocated for an order may depend upon the size/amount/level/scope of the requested service. For example, the number of pods to be allocated may be determined based upon the number of users to be supported by the service, the duration of time for which the service is being requested, and the like. The allocated pods may then be customized for the particular requesting customer for providing the requested service.

The cloud infrastructure system 1502 may send a response or notification 1544 to the requesting customer to indicate when the requested service is now ready for use. In some instances, information (e.g., a link) may be sent to the customer that enables the customer to start using and availing the benefits of the requested services.

The cloud infrastructure system 1502 may provide services to multiple customers. For each customer, the cloud infrastructure system 1502 is responsible for managing information related to one or more subscription orders received from the customer, maintaining customer data related to the orders, and providing the requested services to the customer. The cloud infrastructure system 1502 may also collect usage statistics regarding a customer's use of subscribed services. For example, statistics may be collected for the amount of storage used, the amount of data transferred, the number of users, and the amount of system up time and system down time, and the like. This usage information may be used to bill the customer. Billing may be done, for example, on a monthly cycle.

The cloud infrastructure system 1502 may provide services to multiple customers in parallel. The cloud infrastructure system 1502 may store information for these customers, including possibly proprietary information. In some examples, the cloud infrastructure system 1502 includes an identity management subsystem (IMS) 1528 that is configured to manage customers information and provide the separation of the managed information such that information related to one customer is not accessible by another customer. IMS 1528 may be configured to provide various security-related services such as identity services, such as information access management, authentication and authorization services, services for managing customer identities and roles and related capabilities, and the like.

FIG. 16 illustrates an example of a computer system 1600 that may be used to implement the various examples discussed above. In some examples, the computer system 1600 may be used to implement any of the various servers and computer systems described above. As shown in FIG. 16, the computer system 1600 includes various subsystems including a processing subsystem 1604 that communicates with a number of other subsystems via a bus subsystem 1602. These other subsystems may include a processing acceleration unit 1606, an I/O subsystem 1608, a storage subsystem 1618 and a communications subsystem 1624. The storage subsystem 1618 may include non-transitory computer-readable storage media 1622 and a system memory 1610.

The bus subsystem 1602 provides a mechanism for letting the various components and subsystems of the computer system 1600 communicate with each other as intended. Although the bus subsystem 1602 is shown schematically as a single bus, alternate examples of the bus subsystem may utilize multiple buses. The bus subsystem 1602 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. For example, such architectures may include an Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, which can be implemented as a Mezzanine bus manufactured to the IEEE P1386.1 standard, and the like.

The processing subsystem 1604 controls the operation of the computer system 1600 and may comprise one or more processors, application specific integrated circuits (ASICs), or field programmable gate arrays (FPGAs). The processors may include be single core or multi-core processors. The processing resources of computer system 700 can be organized into one or more processing units 1632, 1634. A processing unit may include one or more processors, including single core or multi-core processors, one or more cores from the same or different processors, a combination of cores and processors, or other combinations of cores and processors. In some examples, the processing subsystem 1604 can include one or more special purpose co-processors such as graphics processors, digital signal processors (DSPs), or the like. In some examples, some or all of the processing units of the processing subsystem 1604 can be implemented using customized circuits, such as application specific integrated circuits (ASICs), or field programmable gate arrays (FPGAs).

In some examples, the processing units in the processing subsystem 1604 can execute instructions stored in the system memory 1610 or on the computer readable storage media 1622. In various examples, the processing units can execute a variety of programs or code instructions and can maintain multiple concurrently executing programs or processes. At any given time, some or all of the program code to be executed can be resident in the system memory 1610 and/or on the computer-readable storage media 1622 including potentially on one or more storage devices. Through suitable programming, the processing subsystem 1604 can provide various functionalities described above. In instances where computer system 700 is executing one or more virtual machines, one or more processing units may be allocated to each virtual machine

In some examples, a processing acceleration unit 1606 may be provided for performing customized processing or for off-loading some of the processing performed by the processing subsystem 1604 so as to accelerate the overall processing performed by the computer system 1600.

The I/O subsystem 1608 may include devices and mechanisms for inputting information to the computer system 1600 and/or for outputting information from or via the computer system 1600. In general, use of the term “input device” is intended to include all possible types of devices and mechanisms for inputting information to the computer system 1600. User interface input devices may include, for example, a keyboard, pointing devices such as a mouse or trackball, a touchpad or touch screen incorporated into a display, a scroll wheel, a click wheel, a dial, a button, a switch, a keypad, audio input devices with voice command recognition systems, microphones, and other types of input devices. User interface input devices may also include motion sensing and/or gesture recognition devices such as the Microsoft Kinect® motion sensor that enables users to control and interact with an input device, the Microsoft Xbox® 360 game controller, devices that provide an interface for receiving input using gestures and spoken commands. User interface input devices may also include eye gesture recognition devices such as the Google Glass® blink detector that detects eye activity (e.g., “blinking” while taking pictures and/or making a menu selection) from users and transforms the eye gestures as input into an input device (e.g., Google Glass®). Additionally, user interface input devices may include voice recognition sensing devices that enable users to interact with voice recognition systems (e.g., Siri® navigator), through voice commands.

Other examples of user interface input devices include, without limitation, three dimensional (3D) mice, joysticks or pointing sticks, gamepads and graphic tablets, and audio/visual devices such as speakers, digital cameras, digital camcorders, portable media players, webcams, image scanners, fingerprint scanners, barcode reader 3D scanners, 3D printers, laser rangefinders, and eye gaze tracking devices. Additionally, user interface input devices may include, for example, medical imaging input devices such as computed tomography, magnetic resonance imaging, position emission tomography, medical ultrasonography devices. User interface input devices may also include, for example, audio input devices such as MIDI keyboards, digital musical instruments and the like.

In general, use of the term “output device” is intended to include all possible types of devices and mechanisms for outputting information from computer system 1600 to a user or other computer. User interface output devices may include a display subsystem, indicator lights, or non-visual displays such as audio output devices, etc. The display subsystem may be a cathode ray tube (CRT), a flat-panel device, such as that using a liquid crystal display (LCD) or plasma display, a projection device, a touch screen, and the like. For example, user interface output devices may include, without limitation, a variety of display devices that visually convey text, graphics and audio/video information such as monitors, printers, speakers, headphones, automotive navigation systems, plotters, voice output devices, and modems.

The storage subsystem 1618 provides a repository or data store for storing information that is used by the computer system 1600. The storage subsystem 1618 provides a tangible non-transitory computer-readable storage medium for storing the basic programming and data constructs that provide the functionality of some examples. Software (e.g., programs, code modules, instructions) that when executed by the processing subsystem 1604 provide the functionality described above may be stored in the storage subsystem 1618. The software may be executed by one or more processing units of the processing subsystem 1604. The storage subsystem 1618 may also provide a repository for storing data used in accordance with the present disclosure.

The storage subsystem 1618 may include one or more non-transitory memory devices, including volatile and non-volatile memory devices. As shown in FIG. 16, the storage subsystem 1618 includes a system memory 1610 and a computer-readable storage media 1622. The system memory 1610 may include a number of memories including a volatile main random access memory (RAM) for storage of instructions and data during program execution and a non-volatile read only memory (ROM) or flash memory in which fixed instructions are stored. In some implementations, a basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within the computer system 1600, such as during start-up, may typically be stored in the ROM. The RAM typically contains data and/or program modules that are presently being operated and executed by the processing subsystem 1604. In some implementations, the system memory 1610 may include multiple different types of memory, such as static random access memory (SRAM) or dynamic random access memory (DRAM), and the like.

By way of example, and not limitation, as depicted in FIG. 16, the system memory 1610 may load application programs 1612 that are being executed, which may include client applications, Web browsers, mid-tier applications, relational database management systems (RDBMS), etc., program data 1623, and an operating system 1616. By way of example, the operating system 1616 may include various versions of Microsoft Windows®, Apple Macintosh®, and/or Linux operating systems, a variety of commercially-available UNIX® or UNIX-like operating systems (including without limitation the variety of GNU/Linux operating systems, the Google Chrome® OS, and the like) and/or mobile operating systems such as iOS, Windows® Phone, Android® OS, BlackBerry® 10 OS, and Palm® OS operating systems.

The computer-readable storage media 1622 may store programming and data constructs that provide the functionality of some examples. The computer-readable media 1622 may provide storage of computer-readable instructions, data structures, program modules, and other data for the computer system 1600. Software (programs, code modules, instructions) that when executed by the processing subsystem 1604 provides the functionality described above that may be stored in the storage subsystem 1618. By way of example, the computer-readable storage media 1622 may include non-volatile memory such as a hard disk drive, a magnetic disk drive, an optical disk drive such as a CD ROM, DVD, a Blu-Ray® disk, or other optical media. The computer-readable storage media 1622 may include, but is not limited to, Zip® drives, flash memory cards, universal serial bus (USB) flash drives, secure digital (SD) cards, DVD disks, digital video tape, and the like. Computer-readable storage media 1622 may also include, solid-state drives (SSD) based on non-volatile memory such as flash-memory based SSDs, enterprise flash drives, solid state ROM, and the like, SSDs based on volatile memory such as solid state RAM, dynamic RAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs that use a combination of DRAM and flash memory based SSDs. The computer-readable storage media 1622 may provide storage of computer-readable instructions, data structures, program modules, and other data for the computer system 1600.

In some examples, the storage subsystem 1618 may also include a computer-readable storage media reader 1620 that can further be connected to the computer-readable storage media 1622. The reader 1620 may receive and be configured to read data from a memory device such as a disk, a flash driver, etc.

In some examples, the computer system 1600 may support virtualization technologies, including but not limited to virtualization of processing and memory resources. For example, the computer system 1600 may provide support for executing one or more virtual machines. The computer system 1600 may execute a program such as a hypervisor that facilitates the configuring and managing of the virtual machines. Each virtual machine generally runs independently of the other virtual machines. A virtual machine may be allocated memory, compute (e.g., processors, cores), I/O, and networking resources. Each virtual machine typically runs its own operating system, which may be the same as or different from the operating systems executed by other virtual machines executed by the computer system 1600. Accordingly, multiple operating systems may potentially be run concurrently by the computer system 1600.

The communications subsystem 1624 provides an interface to other computer systems and networks. The communications subsystem 1624 serves as an interface for receiving data from and transmitting data to other systems from the computer system 1600. For example, the communications subsystem 1624 may enable the computer system 1600 to establish a communication channel to one or more client computing devices via the Internet for receiving and sending information from and to the client computing devices.

The communication subsystem 1624 may support both wired and/or wireless communication protocols. For example, in some examples, the communications subsystem 1624 may include radio frequency (RF) transceiver components for accessing wireless voice and/or data networks (e.g., using cellular telephone technology, advanced data network technology, such as 3G, 4G or EDGE (enhanced data rates for global evolution), WiFi (IEEE 802.11 family standards, or other mobile communication technologies, or any combination thereof), global positioning system (GPS) receiver components, and/or other components. In some examples, the communications subsystem 1624 can provide wired network connectivity (e.g., Ethernet) in addition to or instead of a wireless interface.

The communication subsystem 1624 can receive and transmit data in various forms. For example, in some examples, the communications subsystem 1624 may receive input communication in the form of structured and/or unstructured data feeds 1626, event streams 1628, event updates 1630, and the like. For example, the communications subsystem 1624 may be configured to receive (or send) data feeds 1626 in real-time from users of social media networks and/or other communication services such as Twitter® feeds, Facebook® updates, web feeds such as Rich Site Summary (RSS) feeds, and/or real-time updates from one or more third party information sources.

In some examples, the communications subsystem 1624 may be configured to receive data in the form of continuous data streams, which may include event streams 1628 of real-time events and/or event updates 1630, that may be continuous or unbounded in nature with no explicit end. Examples of applications that generate continuous data may include, for example, sensor data applications, financial tickers, network performance measuring tools (e.g. network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like.

The communications subsystem 1624 may also be configured to output the structured and/or unstructured data feeds 1626, event streams 1628, event updates 1630, and the like to one or more databases that may be in communication with one or more streaming data source computers coupled to the computer system 1600.

The computer system 1600 can be one of various types, including a handheld portable device (e.g., an iPhone® cellular phone, an iPad® computing tablet, a PDA), a wearable device (e.g., a Google Glass® head mounted display), a personal computer, a workstation, a mainframe, a kiosk, a server rack, or any other data processing system.

Due to the ever-changing nature of computers and networks, the description of the computer system 1600 depicted in FIG. 16 is intended only as a specific example. Many other configurations having more or fewer components than the system depicted in FIG. 16 are possible. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various examples.

Although specific implementations have been described, various modifications, alterations, alternative constructions, and equivalents are possible. Implementations described in the present disclosure are not restricted to operation within certain specific data processing environments, but are free to operate within a plurality of data processing environments. Additionally, although implementations have been described using a particular series of transactions and steps, it should be apparent to those skilled in the art that this is not intended to be limiting. Although some flowcharts describe operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process may have additional steps not included in the figure. Various features and aspects of the above-described implementations may be used individually or jointly.

Further, while implementations described in the present disclosure have been described using a particular combination of hardware and software, it should be recognized that other combinations of hardware and software are also possible. Some implementations described herein may be implemented only in hardware, or only in software, or using combinations thereof. The various processes described herein can be implemented on the same processor or different processors in any combination.

Where devices, systems, components, or modules are described as being configured to perform certain operations or functions, such configuration can be accomplished, for example, by designing electronic circuits to perform the operation, by programming programmable electronic circuits (such as microprocessors) to perform the operation, such as by executing computer instructions or code, or processors or cores programmed to execute code or instructions stored on a non-transitory memory medium, or any combination thereof. Processes can communicate using a variety of techniques including, but not limited to, conventional techniques for inter-process communication, and different pairs of processes may use different techniques, or the same pair of processes may use different techniques at different times.

Specific details are given in this disclosure to provide a thorough understanding of the embodiments. However, embodiments may be practiced without these specific details. For example, well-known circuits, processes, algorithms, structures, and techniques have been shown without unnecessary detail in order to avoid obscuring the embodiments. This description provides example embodiments only, and is not intended to limit the scope, applicability, or configuration of other embodiments. Rather, the preceding description of the embodiments will provide those skilled in the art with an enabling description for implementing various embodiments. Various changes may be made in the function and arrangement of elements.

The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that additions, subtractions, deletions, and other modifications and changes may be made thereunto without departing from the broader spirit and scope as set forth in the claims. Thus, although specific implementations have been described, these are not intended to be limiting. Various modifications and equivalents are within the scope of the following claims. 

What is claimed is:
 1. A computer-implemented method, comprising, at a computer system of a security management system: deploying an agent to a cloud service platform of a cloud service provider, wherein the agent is configured to monitor an application deployed to the cloud service platform by a tenant of the cloud service platform, the cloud service platform provides the tenant with a tenant account, the tenant account enables one or more users to access the cloud service platform to use the application, and the agent is configured to: operate as a layer between the application and a library used by the application; and modify byte code for the library by inserting instrumentation code into the byte code when a class loader fetches the library for loading into memory; receiving, from the agent, application data that comprises a record of actions performed by the application during use of the application by one or more users associated with the tenant; analyzing the application data to identify an event associated with a security risk, wherein the event is identified from one or more actions performed by the application; determining an action to perform in response to identifying the event; and performing the action.
 2. The computer-implemented method of claim 1, wherein the cloud service platform maintains an activity log for the tenant, the activity log including actions performed by the one or more users in accessing the cloud service platform, and wherein the activity log does not include actions performed by the application.
 3. The computer-implemented method of claim 1, wherein the event is identified using a model for the application, wherein the model describes usage patterns for the application.
 4. The computer-implemented method of claim 1, wherein the application comprises a custom application developed by the tenant and not natively provided by the cloud service platform.
 5. The computer-implemented method of claim 1, wherein the instrumentation code is configured to output function calls and parameters to an output file when functions are called from the library by the application.
 6. The computer-implemented method of claim 1, wherein the library is selected from a plurality of libraries for monitoring by the agent based on security-sensitive operations performed by the library.
 7. The computer-implemented method of claim 1, wherein the instrumentation code does not require the application itself to be modified.
 8. A computing system, comprising: one or more processors; and a memory coupled to and readable by the one or more processors, the memory comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising: deploying an agent to a cloud service platform of a cloud service provider, wherein the agent is configured to monitor an application deployed to the cloud service platform by a tenant of the cloud service platform, the cloud service platform provides the tenant with a tenant account, the tenant account enables one or more users to access the cloud service platform to use the application, and the agent is configured to: operate as a layer between the application and a library used by the application; and modify byte code for the library by inserting instrumentation code into the byte code when a class loader fetches the library for loading into memory; receiving, from the agent, application data that comprises a record of actions performed by the application during use of the application by one or more users associated with the tenant; analyzing the application data to identify an event associated with a security risk, wherein the event is identified from one or more actions performed by the application; determining an action to perform in response to identifying the event; and performing the action.
 9. The computer system of claim 8, wherein the instrumentation code is configured to output function calls and parameters to an output file when functions are called from the library by the application.
 10. The computer system of claim 8, wherein the library is selected from a plurality of libraries for monitoring by the agent based on security-sensitive operations performed by the library.
 11. The computer system of claim 10, wherein the library enables access to authentication information, enables access to databases, enables network access, or enables generation and deletion of users.
 12. The computer system of claim 8, wherein the instrumentation code does not require the application itself to be modified.
 13. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising: deploying an agent to a cloud service platform of a cloud service provider, wherein the agent is configured to monitor an application deployed to the cloud service platform by a tenant of the cloud service platform, the cloud service platform provides the tenant with a tenant account, the tenant account enables one or more users to access the cloud service platform to use the application, and the agent is configured to: operate as a layer between the application and a library used by the application; and modify byte code for the library by inserting instrumentation code into the byte code when a class loader fetches the library for loading into memory; receiving, from the agent, application data that comprises a record of actions performed by the application during use of the application by one or more users associated with the tenant; analyzing the application data to identify an event associated with a security risk, wherein the event is identified from one or more actions performed by the application; determining an action to perform in response to identifying the event; and performing the action.
 14. The non-transitory computer-readable medium of claim 13, wherein the agent is configured to monitor the application and a plurality of other applications hosted by the cloud service platform.
 15. The non-transitory computer-readable medium of claim 13, wherein the operations further comprise maintaining and training a model specific to the application that describes usage patterns for the application by the one or more users of the tenant.
 16. The non-transitory computer-readable medium of claim 15, wherein the application data is compared to data provided by the model to identify anomalous activity that falls outside of expected behavior for the one or more users of the application.
 17. The non-transitory computer-readable medium of claim 13, wherein the cloud service platform is not able to monitor or record internal actions performed by the application.
 18. The non-transitory computer-readable medium of claim 13, wherein a source code for the application comprises tags that indicate functions that should be monitored by the agent.
 19. The non-transitory computer-readable medium of claim 13, wherein the agent is configured to monitor the application and a plurality of other applications hosted by the cloud service platform.
 20. The non-transitory computer-readable medium of claim 13, wherein the operations further comprise maintaining and training a model specific to the application that describes usage patterns for the application by the one or more users of the tenant. 